o add a little bit of help

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-01-03 06:40:22 +00:00
parent 505a51e02c
commit 5981ffd93a
1 changed files with 11 additions and 0 deletions

View File

@ -2,12 +2,23 @@
VERSION=1.0 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="." dir="."
jar="" jar=""
leaveBootFiles="" leaveBootFiles=""
while [ $# -gt 0 ]; do while [ $# -gt 0 ]; do
case $1 in case $1 in
--help)
usage
;;
--version) --version)
echo "mboot: version $VERSION" echo "mboot: version $VERSION"
exit 0 exit 0