From: Timo Heister Date: Mon, 8 Feb 2016 22:31:46 +0000 (-0500) Subject: catch invalid command line parameters X-Git-Tag: v0.8.4~6^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd2620f68852decaa93e35c75ff264ae3d1342e;p=candi.git catch invalid command line parameters --- diff --git a/candi.sh b/candi.sh index 538e185..6faaf37 100755 --- a/candi.sh +++ b/candi.sh @@ -93,6 +93,9 @@ while [ -n "$1" ]; do GIVEN_PLATFORM="${param#*=}" ;; + *) + echo "invalid command line option. See -h for more information." + exit 1 esac shift done