Fix the switch case instruction in scripts/ybcon.sh.
This commit is contained in:
parent
1a2550f27e
commit
36c1f17fc1
|
@ -44,6 +44,9 @@ if [ "$#" != 0 ]; then
|
|||
for it in "$@"
|
||||
do
|
||||
case "$it" in
|
||||
-h | --help | --version )
|
||||
usage false
|
||||
exit 0 ;;
|
||||
-p | --printresult )
|
||||
newArgs "$it"
|
||||
shift ;;
|
||||
|
@ -52,7 +55,7 @@ if [ "$#" != 0 ]; then
|
|||
run=true
|
||||
break ;;
|
||||
* )
|
||||
usage false ;;
|
||||
usage false ;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue