diff --git a/pokemonsay.sh b/pokemonsay.sh index 61c72ad..94c6e50 100755 --- a/pokemonsay.sh +++ b/pokemonsay.sh @@ -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