api-parse-options.txt: document "no-" for non-boolean options

Document that the "no-" prefix can also be used for non-boolean options. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael Haggerty committed Apr 18, 2013 at 09:46 UTC 8a09e6c5f9010ac7159ef39a03b9a36bf233eaca
1 file changed +2
Documentation/technical/api-parse-options.txt
+2
@@ -41,6 +41,8 @@ The parse-options API allows:
41 * Boolean long options can be 'negated' (or 'unset') by prepending
42 `no-`, e.g. `--no-abbrev` instead of `--abbrev`. Conversely,
43 options that begin with `no-` can be 'negated' by removing it.
44 + Other long options can be unset (e.g., set string to NULL, set
45 + integer to 0) by prepending `no-`.
46
47 * Options and non-option arguments can clearly be separated using the `--`
48 option, e.g. `-a -b --option -- --this-is-a-file` indicates that