Warn the user when an unknown option is provided

This commit is contained in:
Lucas Possatti
2015-06-24 21:01:29 -03:00
parent 90cc3aa174
commit e83b9f1567

View File

@@ -84,6 +84,11 @@ case $key in
-h|--help)
usage
;;
-*)
echo
echo " Unknown option '$1'"
usage
;;
*)
# Append this word to the message.
if [ -n "$MESSAGE" ]; then