diff options
Diffstat (limited to 'manual/argp.texi')
-rw-r--r-- | manual/argp.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/argp.texi b/manual/argp.texi index ab16fe3..4847468 100644 --- a/manual/argp.texi +++ b/manual/argp.texi @@ -60,7 +60,7 @@ call to @code{argp_parse} is the only argument-parsing code needed in @comment argp.h @comment GNU @deftypefun {error_t} argp_parse (const struct argp *@var{argp}, int @var{argc}, char **@var{argv}, unsigned @var{flags}, int *@var{arg_index}, void *@var{input}) -The @code{argp_parse} function parses the arguments in in @var{argv}, of +The @code{argp_parse} function parses the arguments in @var{argv}, of length @var{argc}, using the argp parser @var{argp} (@pxref{Argp Parsers}); a value of zero is the same as a @code{struct argp} containing all zeros. @var{flags} is a set of flag bits that modify the @@ -203,7 +203,7 @@ messages. @xref{Argp Help Filtering}. The @code{options}, @code{parser}, @code{args_doc}, and @code{doc} fields are usually all that are needed. If an argp parser is defined as -an initialized C variable, only the used fields need be specified in in +an initialized C variable, only the used fields need be specified in the initializer---the rest will default to zero due to the way C structure initialization works (this fact is exploited for most argp structures, grouping the most-used fields near the beginning, so that @@ -845,7 +845,7 @@ Turns off any message-printing/exiting options, specifically @need 2000 @subsection Customizing Argp Help Output -The @code{help_filter} field in a a @code{struct argp} is a pointer to a +The @code{help_filter} field in a @code{struct argp} is a pointer to a function to filter the text of help messages before displaying them. They have a function signature like: |