This commit is contained in:
Eric Berberich
2011-04-27 11:40:56 +00:00
parent a6b28d128c
commit 79b50ca721
+5 -2
View File
@@ -4,7 +4,7 @@
usage()
{
echo "Usage: `basename $0` [-u userName] [-e UserEmail] [-l userLogin] [-m svnLocation] [-r fromRevision] [-s] [-g gitname=cgal.git] [-v] [-h]" >&2
echo "Usage: `basename $0` [-u userName] [-e userEmail] [-l userLogin] [-m svnLocation] [-r fromRevision] [-s] [-g gitname=cgal.git] [-v] [-h]" >&2
echo >&2
echo " -r gives revision to start from. Other options than a number: LAST, BASE" >&2
echo " -s skip fetch" >&2
@@ -25,8 +25,11 @@ fromRev=63050
gitName=cgal.git
skipFetch=0
# TODO no-tags
# parse command line arguments
while getopts u:e:l:r:m:g:sh OPT; do
while getopts "u:e:l:r:m:g:sh" OPT; do
echo "$flag" $OPT $OPTIND $OPTARG
case "$OPT" in
u) userName=$OPTARG
;;