summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-03-02 04:59:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-03-02 04:59:31 (GMT)
commit66b8800e53b20cda13446b462531641884089a77 (patch)
tree53ef62b1b878ee340809499296fdad4a898f3db3 /Documentation/technical
parent260eb7e38966bdad79aae2e125c9a07b19abd0f8 (diff)
parentcbb08c2e0b41ab162838aa1e83b959bac91151e2 (diff)
downloadgit-66b8800e53b20cda13446b462531641884089a77.zip
git-66b8800e53b20cda13446b462531641884089a77.tar.gz
git-66b8800e53b20cda13446b462531641884089a77.tar.bz2
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 'Documentation/technical')
-rw-r--r--Documentation/technical/api-parse-options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/technical/api-parse-options.txt b/Documentation/technical/api-parse-options.txt
index 4b92514..2527b7e 100644
--- a/Documentation/technical/api-parse-options.txt
+++ b/Documentation/technical/api-parse-options.txt
@@ -39,7 +39,8 @@ The parse-options API allows:
* Short options may be bundled, e.g. `-a -b` can be specified as `-ab`.
* Boolean long options can be 'negated' (or 'unset') by prepending
- `no-`, e.g. `\--no-abbrev` instead of `\--abbrev`.
+ `no-`, e.g. `\--no-abbrev` instead of `\--abbrev`. Conversely,
+ options that begin with `no-` can be 'negated' by removing it.
* Options and non-option arguments can clearly be separated using the `\--`
option, e.g. `-a -b \--option \-- \--this-is-a-file` indicates that