add description parameter to OPT__DRY_RUN
[gitweb.git] / Documentation / technical / api-parse-options.txt
index 969489bbe52c66073e9b9ab32dfb09b7e7c41b9e..00c447c74c7d5df85b0521f2fc90b12470a5950f 100644 (file)
@@ -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)`::