Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add description parameter to OPT__DRY_RUN
[gitweb.git]
/
Documentation
/
technical
/
api-parse-options.txt
diff --git
a/Documentation/technical/api-parse-options.txt
b/Documentation/technical/api-parse-options.txt
index 969489bbe52c66073e9b9ab32dfb09b7e7c41b9e..00c447c74c7d5df85b0521f2fc90b12470a5950f 100644
(file)
--- a/
Documentation/technical/api-parse-options.txt
+++ b/
Documentation/technical/api-parse-options.txt
@@
-118,7
+118,7
@@
There are some macros to easily define options:
`OPT__COLOR(&int_var, description)`::
Add `\--color[=<when>]` and `--no-color`.
-`OPT__DRY_RUN(&int_var)`::
+`OPT__DRY_RUN(&int_var
, description
)`::
Add `-n, \--dry-run`.
`OPT__QUIET(&int_var)`::