Fixed a bug by escaping the -? option

This commit is contained in:
Jack-Benny Persson 2012-02-19 22:42:12 +01:00
parent 995454dd01
commit 29bdebd357

View File

@ -30,7 +30,7 @@
###############################################################################
VERSION="1.0"
VERSION="1.1"
AUTHOR="(c) 2012 Jack-Benny Persson (jack-benny@cyberinfo.se)"
# Exit codes
@ -91,7 +91,7 @@ while [[ -n "$1" ]]; do
exit $STATE_OK
;;
-?)
-\?)
print_help
exit $STATE_OK
;;