Meta/Dothem: detect unknown options

This commit is contained in:
Junio C Hamano
2009-04-19 16:08:03 -07:00
parent 21b717659e
commit 10ce901d42

1
Dothem
View File

@@ -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