]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/technical/api-parse-options.txt
Merge branch 'en/merge-recursive'
[git.git] / Documentation / technical / api-parse-options.txt
index c5d141cd63d15e97dd4b4777c30dccb57d430782..f6a4a361bd56e1cc0f4645e09898e6852bfb8a8b 100644 (file)
@@ -118,13 +118,16 @@ 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)`::
+`OPT__FORCE(&int_var, description)`::
+       Add `-f, \--force`.
+
+`OPT__QUIET(&int_var, description)`::
        Add `-q, \--quiet`.
 
-`OPT__VERBOSE(&int_var)`::
+`OPT__VERBOSE(&int_var, description)`::
        Add `-v, \--verbose`.
 
 `OPT_GROUP(description)`::