diff options
author | Miles Bader <miles@gnu.org> | 1997-05-27 18:29:35 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-05-27 18:29:35 +0000 |
commit | 7d601f644ccb08dd289fdda6f003ab7e91379bcd (patch) | |
tree | 1449a1671b0040c844a4e758a2ab79d0c363b161 /libshouldbeinlibc | |
parent | ecec6fe4d165a0f1ac41eede7bb04f42c1f7a111 (diff) |
(argp_args_usage):
Supply correct argp to filter_doc.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r-- | libshouldbeinlibc/argp-help.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libshouldbeinlibc/argp-help.c b/libshouldbeinlibc/argp-help.c index caf85850..5a893350 100644 --- a/libshouldbeinlibc/argp-help.c +++ b/libshouldbeinlibc/argp-help.c @@ -1315,8 +1315,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state, int multiple = 0; const struct argp_child *child = argp->children; const char *tdoc = gettext (argp->args_doc), *nl = 0; - const char *fdoc = filter_doc (tdoc, ARGP_KEY_HELP_ARGS_DOC, - state ? state->root_argp : 0, state); + const char *fdoc = filter_doc (tdoc, ARGP_KEY_HELP_ARGS_DOC, argp, state); if (fdoc) { |