Code

Merge branch 'maint'
[git.git] / Documentation / technical / api-parse-options.txt
index aace5801ca8bf7334b73917e88f6e42ec978727e..50f9e9ac1708f3f754023c1bb60416adc9c73c74 100644 (file)
@@ -167,6 +167,11 @@ There are some macros to easily define options:
        and the result will be put into `var`.
        See 'Option Callbacks' below for a more elaborate description.
 
+`OPT_FILENAME(short, long, &var, description)`::
+       Introduce an option with a filename argument.
+       The filename will be prefixed by passing the filename along with
+       the prefix argument of `parse_options()` to `prefix_filename()`.
+
 `OPT_ARGUMENT(long, description)`::
        Introduce a long-option argument that will be kept in `argv[]`.