aboutsummaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-01 20:59:31 -0800
committerJunio C Hamano <gitster@pobox.com>2012-03-01 20:59:31 -0800
commit66b8800e53b20cda13446b462531641884089a77 (patch)
tree53ef62b1b878ee340809499296fdad4a898f3db3 /parse-options.h
parent260eb7e38966bdad79aae2e125c9a07b19abd0f8 (diff)
parentcbb08c2e0b41ab162838aa1e83b959bac91151e2 (diff)
downloadgit-66b8800e53b20cda13446b462531641884089a77.tar.gz
git-66b8800e53b20cda13446b462531641884089a77.tar.xz
Merge branch 'rs/no-no-no-parseopt'
* rs/no-no-no-parseopt: parse-options: remove PARSE_OPT_NEGHELP parse-options: allow positivation of options starting, with no- test-parse-options: convert to OPT_BOOL() Conflicts: builtin/grep.c
Diffstat (limited to 'parse-options.h')
-rw-r--r--parse-options.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/parse-options.h b/parse-options.h
index 2e811dc7d..def9ced73 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -40,7 +40,6 @@ enum parse_opt_option_flags {
PARSE_OPT_LASTARG_DEFAULT = 16,
PARSE_OPT_NODASH = 32,
PARSE_OPT_LITERAL_ARGHELP = 64,
- PARSE_OPT_NEGHELP = 128,
PARSE_OPT_SHELL_EVAL = 256
};
@@ -90,9 +89,6 @@ typedef int parse_opt_ll_cb(struct parse_opt_ctx_t *ctx,
* PARSE_OPT_LITERAL_ARGHELP: says that argh shouldn't be enclosed in brackets
* (i.e. '<argh>') in the help message.
* Useful for options with multiple parameters.
- * PARSE_OPT_NEGHELP: says that the long option should always be shown with
- * the --no prefix in the usage message. Sometimes
- * useful for users of OPTION_NEGBIT.
*
* `callback`::
* pointer to the callback to use for OPTION_CALLBACK or