Permalink
Browse files

corrected errors in the program names and usage messages appearing in…

… the scripts -- fixes for BYTEMAN-167
  • Loading branch information...
1 parent 6188bc9 commit e3dc61f57c5de4a8678e92028456636a52bfb627 @adinn adinn committed Jul 15, 2011
Showing with 13 additions and 13 deletions.
  1. +2 −2 bin/bmcheck.sh
  2. +2 −2 bin/bmjava.sh
  3. +7 −7 bin/bmsubmit.sh
  4. +2 −2 bin/bytemancheck.sh
View
4 bin/bmcheck.sh
@@ -23,13 +23,13 @@
#
# shell script which type checks a byteman rule set
#
-# usage: bytemancheck [-cp classpath]* [-p package]* [-v] script1 . . . scriptN
+# usage: bmcheck [-cp classpath]* [-p package]* [-v] script1 . . . scriptN
#
# use BYTEMAN_HOME to locate installed byteman release
if [ -z "$BYTEMAN_HOME" ]; then
# use the root of the path to this file to locate the byteman jar
BYTEMAN_HOME=${0%*/bin/bmcheck.sh}
-# allow for rename to plain bmjava
+# allow for rename to plain bmcheck
if [ "$BYTEMAN_HOME" == "$0" ]; then
BYTEMAN_HOME=${0%*/bin/bmcheck}
fi
View
4 bin/bmjava.sh
@@ -25,14 +25,14 @@
# agent installed
#
# usage: bmjava [-p port] [-h host] \
-# [-r rulescript | -b bootjar | -s sysjar | -nl | -nb ]* [--] javaargs
+# [-l rulescript | -b bootjar | -s sysjar | -nl | -nb ]* [--] javaargs
# -p use the number which follows as the port when opening the listener
# socket
#
# -h use the string which follows as the host name when opening
# the listener socket
#
-# -r pass the file whose name follows this flag to the agent as
+# -l pass the file whose name follows this flag to the agent as
# a rule script
#
# -b pass the file whose name follows this flag to the agent as
View
14 bin/bmsubmit.sh
@@ -24,11 +24,11 @@
# shell script which submits a request to the Byteman agent listener
# either to list, install or uninstall rule scripts
#
-# usage: submit [-o outfile] [-p port] [-h host] [-l|-u] [script1 . . . scriptN]
-# submit [-o outfile] [-p port] [-h host] [-b | -s] bootjar1 . . .
-# submit [-o outfile] [-p port] [-h host] -c
-# submit [-o outfile] [-p port] [-h host] -y [prop1[=[value1]]. . .]
-# submit [-o outfile] [-p port] [-h host] -v
+# usage: bmsubmit [-o outfile] [-p port] [-h host] [-l|-u] [script1 . . . scriptN]
+# bmsubmit [-o outfile] [-p port] [-h host] [-b | -s] bootjar1 . . .
+# bmsubmit [-o outfile] [-p port] [-h host] -c
+# bmsubmit [-o outfile] [-p port] [-h host] -y [prop1[=[value1]]. . .]
+# bmsubmit [-o outfile] [-p port] [-h host] -v
# -o redirects output from System.out to outfile
# -p specifies the listener port (default 9091)
# -h specifies the listener host name (default localhost)
@@ -54,10 +54,10 @@
# use BYTEMAN_HOME to locate installed byteman release
if [ -z "$BYTEMAN_HOME" ]; then
# use the root of the path to this file to locate the byteman jar
- BYTEMAN_HOME=${0%*/bin/submit.sh}
+ BYTEMAN_HOME=${0%*/bin/bmsubmit.sh}
# allow for rename to plain submit
if [ "$BYTEMAN_HOME" == "$0" ]; then
- BYTEMAN_HOME=${0%*/bin/submit}
+ BYTEMAN_HOME=${0%*/bin/bmsubmit}
fi
if [ "$BYTEMAN_HOME" == "$0" ]; then
echo "Unable to find byteman home"
View
4 bin/bytemancheck.sh
@@ -28,10 +28,10 @@
# use BYTEMAN_HOME to locate installed byteman release
if [ -z "$BYTEMAN_HOME" ]; then
# use the root of the path to this file to locate the byteman jar
- BYTEMAN_HOME=${0%*/bin/bmjava.sh}
+ BYTEMAN_HOME=${0%*/bin/bytemancheck.sh}
# allow for rename to plain bmjava
if [ "$BYTEMAN_HOME" == "$0" ]; then
- BYTEMAN_HOME=${0%*/bin/bmjava}
+ BYTEMAN_HOME=${0%*/bin/bytemancheck}
fi
if [ "$BYTEMAN_HOME" == "$0" ]; then
echo "Unable to find byteman home"

0 comments on commit e3dc61f

Please sign in to comment.