Commit 66634ab0 authored by Richard Torenvliet's avatar Richard Torenvliet

exit on non args

parent b1a57535
...@@ -126,6 +126,7 @@ function HELP { ...@@ -126,6 +126,7 @@ function HELP {
NUMARGS=$# NUMARGS=$#
if [ $NUMARGS -eq 0 ]; then if [ $NUMARGS -eq 0 ]; then
HELP HELP
exit 1
fi fi
while getopts :d:h FLAG; do while getopts :d:h FLAG; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment