Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse-options: do not show usage upon invalid option value
[gitweb.git]
/
parse-options.h
diff --git
a/parse-options.h
b/parse-options.h
index af711227ae3aac7af07de0322a364ccac03b819d..c77bb3b4f8d9342178b8caa68190b02f50ea4274 100644
(file)
--- a/
parse-options.h
+++ b/
parse-options.h
@@
-188,6
+188,7
@@
enum {
PARSE_OPT_HELP = -1,
PARSE_OPT_DONE,
PARSE_OPT_NON_OPTION,
+ PARSE_OPT_ERROR,
PARSE_OPT_UNKNOWN
};