Code

Merge "two fixes for fast-import's 'ls' command" from Jonathan
[git.git] / Documentation / technical / api-parse-options.txt
index 4b92514f60d65232e955cd5dddbeb5318add7274..2527b7e8d7516285aee4a85bf145f391e89463a7 100644 (file)
@@ -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