Correcting getopts option-string

Signed-off-by: Chip Childers <chipchilders@apache.org>
This commit is contained in:
Chip Childers 2013-04-21 16:10:11 -04:00
parent 9e46429436
commit 9db3039877
1 changed files with 3 additions and 3 deletions

View File

@ -36,16 +36,16 @@ usage(){
echo " -h"
}
while getopts v:s:o:b:t:u:c:h opt
while getopts v:s:o:b:u:tch opt
do
case "$opt" in
v) version="$OPTARG";;
s) sourcedir="$OPTARG";;
o) outputdir="$OPTARG";;
b) branch="$OPTARG";;
t) tag='yes';;
t) tag="yes";;
u) certid="$OPTARG";;
c) committosvn='yes';;
c) committosvn="yes";;
h) usage
exit 0;;
/?) # unknown flag