Merge branch 'rs/pickaxe'
[gitweb.git] / Documentation / technical / api-parse-options.txt
index acf17607dfced869ed9709decbe11a1828659cfa..4b92514f60d65232e955cd5dddbeb5318add7274 100644 (file)
@@ -204,6 +204,11 @@ There are some macros to easily define options:
        "auto", set `int_var` to 1 if stdout is a tty or a pager,
        0 otherwise.
 
+`OPT_NOOP_NOARG(short, long)`::
+       Introduce an option that has no effect and takes no arguments.
+       Use it to hide deprecated options that are still to be recognized
+       and ignored silently.
+
 
 The last element of the array must be `OPT_END()`.