From bcd2620f68852decaa93e35c75ff264ae3d1342e Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 8 Feb 2016 17:31:46 -0500 Subject: [PATCH] catch invalid command line parameters --- candi.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5