mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Merge pull request #899 from spacewander/git-summary
git-summary: reject invalid option
This commit is contained in:
commit
96b95392ac
|
|
@ -13,6 +13,10 @@ for arg in "$@"; do
|
|||
--dedup-by-email)
|
||||
DEDUP_BY_EMAIL=1
|
||||
;;
|
||||
-*)
|
||||
>&2 echo "unknown argument $arg found"
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
# set the argument back
|
||||
set -- "$@" "$arg"
|
||||
|
|
|
|||
Loading…
Reference in a new issue