jvanzyl 2004/01/02 22:40:22
Modified: maven-mboot/src/bash mboot
Log:
o add a little bit of help
Revision Changes Path
1.3 +11 -0 maven-components/maven-mboot/src/bash/mboot
Index: mboot
===================================================================
RCS file: /home/cvs/maven-components/maven-mboot/src/bash/mboot,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mboot 3 Jan 2004 06:32:24 -0000 1.2
+++ mboot 3 Jan 2004 06:40:22 -0000 1.3
@@ -2,12 +2,23 @@
VERSION=1.0
+usage ()
+{
+ echo "usage: `basename $0` [--dir=<directory>] [--jar=<name>]
[--leave-boot-files] [--version] [--help]" >&2
+ echo "" >&2
+ echo " (ex: `basename $0` --dir=../builds/plexus --jar=plexus.jar)" >&2
+ exit 1
+}
+
dir="."
jar=""
leaveBootFiles=""
while [ $# -gt 0 ]; do
case $1 in
+ --help)
+ usage
+ ;;
--version)
echo "mboot: version $VERSION"
exit 0
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]