From 3bb9c86e811f2c733991df97e7e16b4676c7b8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 16 Sep 2020 09:12:39 +0000 Subject: [PATCH] detect wrong options --- scripts/template.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/template.sh b/scripts/template.sh index 2d8c32c..bd66954 100755 --- a/scripts/template.sh +++ b/scripts/template.sh @@ -151,6 +151,7 @@ DESCRIPTION EOF exit;; + (-*|--*) error "unknow option $1, try $0 --help"; exit 1;; (*) error "unknow option $1, try $0 --help"; exit 1;; esac if test $# -eq 0; then