Complain about unknown options.

This commit is contained in:
Michał Górny 2010-07-12 13:47:50 +02:00
parent 80434064dc
commit 364ade7b73

View File

@ -249,6 +249,9 @@ main() {
commitmsg=${commitmsg+${commitmsg} }${@} commitmsg=${commitmsg+${commitmsg} }${@}
break break
;; ;;
-*)
die "Unknown option: ${1}; see --help." >&2
;;
*) *)
commitmsg=${commitmsg+${commitmsg} }${1} commitmsg=${commitmsg+${commitmsg} }${1}
;; ;;