[parser] Fixed broken option handling
This commit is contained in:
parent
50c5511912
commit
a299939cb0
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
GIT_DIR="./"
|
||||
|
||||
#Recursive argument parser
|
||||
while [[ -z "${1}" ]]; do
|
||||
while true; do
|
||||
case ${1} in
|
||||
--help)
|
||||
shift
|
||||
|
@ -27,6 +27,7 @@ while [[ -z "${1}" ]]; do
|
|||
shift
|
||||
GIT_DIR="${1}"
|
||||
shift
|
||||
return
|
||||
;;
|
||||
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue