]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Dothem: detect unknown options
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Apr 2009 23:08:03 +0000 (16:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Apr 2009 23:08:03 +0000 (16:08 -0700)
Dothem

diff --git a/Dothem b/Dothem
index 38a37f2ba4bc7092cd52c04bf4bcb95e8c9b1d11..a27f221c3f61107133e1571b6174eae48d615b79 100755 (executable)
--- 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