Meta/Dothem: detect unknown options
Junio C Hamano committed
Apr 19, 2009 at 16:08 UTC
10ce901d42a1f1306bd363dc1ff4e9ffb33b323b
1 file changed
+1
Dothem
+1
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