Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse-opt: add PARSE_OPT_KEEP_ARGV0 parser option.
[gitweb.git]
/
parse-options.h
diff --git
a/parse-options.h
b/parse-options.h
index aeed627e9757df03df94a2c93bbd8112f4bb9a2c..c5f0b4b4dabb5a40027c0cc588549904e0efcc6f 100644
(file)
--- a/
parse-options.h
+++ b/
parse-options.h
@@
-20,6
+20,7
@@
enum parse_opt_type {
enum parse_opt_flags {
PARSE_OPT_KEEP_DASHDASH = 1,
PARSE_OPT_STOP_AT_NON_OPTION = 2,
+ PARSE_OPT_KEEP_ARGV0 = 4,
};
enum parse_opt_option_flags {