diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-04-10 10:28:20 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-10 10:28:20 +0300 |
commit | 62c0fd46a875050e904831a73ef4375ed26cfaf6 (patch) | |
tree | 9bb09418c52e02a93f55c62826574ad26ac20f5b /parse-options.h | |
parent | 69d71ec4433d21f464d83b529432856da2387bba (diff) | |
parent | 3bb0923f06c55ea44569f547cefa9e1a59069ff2 (diff) |
Merge branch 'ps/contains-id-error-message'
"git tag --contains no-such-commit" gave a full list of options
after giving an error message.
* ps/contains-id-error-message:
parse-options: do not show usage upon invalid option value
Diffstat (limited to 'parse-options.h')
-rw-r--r-- | parse-options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-options.h b/parse-options.h index ab1cc362bf..dd14911a29 100644 --- a/parse-options.h +++ b/parse-options.h @@ -200,6 +200,7 @@ enum { PARSE_OPT_HELP = -1, PARSE_OPT_DONE, PARSE_OPT_NON_OPTION, + PARSE_OPT_ERROR, PARSE_OPT_UNKNOWN }; |