mirror of https://github.com/apache/maven.git
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:
parent
505a51e02c
commit
5981ffd93a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue