Complain about unknown options.
This commit is contained in:
parent
80434064dc
commit
364ade7b73
@ -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}
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user