[parser] Fixed broken option handling

This commit is contained in:
ayakael 2018-05-04 10:31:53 -07:00
parent 50c5511912
commit a299939cb0
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -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