From: Junio C Hamano Date: Sun, 19 Apr 2009 23:08:03 +0000 (-0700) Subject: Meta/Dothem: detect unknown options X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ce901d42a1f1306bd363dc1ff4e9ffb33b323b;p=thirdparty%2Fgit.git Meta/Dothem: detect unknown options --- diff --git a/Dothem b/Dothem index 38a37f2ba4..a27f221c3f 100755 --- a/Dothem +++ b/Dothem @@ -14,6 +14,7 @@ while case "$1" in --base=*) BUILDBASE=${1#*=} ;; --branches=*) branches=${1#*=} ;; -j*) jobs=$1 ;; + -*) echo >&2 "Unknown option: $1"; exit 1 ;; *) break ;; esac do