Fix help option

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
This commit is contained in:
Tyler Nijmeh 2020-08-06 13:56:25 -07:00
parent 95dfcb47a1
commit e5b37e549e

View File

@ -94,11 +94,15 @@ Options:
"
}
while getopts ":d" opt; do
while getopts ":dh" opt; do
case $opt in
d)
DEBUG=1
;;
h)
usage
exit 0
;;
*)
usage
exit 1