X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/cd522a4c86728df10a96970f6a7bd99b823afc38..2e3850cc898dd13f81cc5ed7c14a5131aa06e197:/src/help.h diff --git a/src/help.h b/src/help.h index 9eb2654..a78bc59 100644 --- a/src/help.h +++ b/src/help.h @@ -23,10 +23,11 @@ struct option; int help_print_optstring(const struct option *opt, const char *argname, int l); /* - * Print an option description with each line indented. The string is first - * localized (if NLS is enabled). The first line will be indented by i-w - * spaces (to account for the cursor being in some other column), all other - * lines are indented by i spaces. + * Print an option description with each line indented. If opt is not NULL, + * then the string is first localized (if NLS is enabled) via pgettext_expr + * with the context set to opt->name. The first line will be indented by + * i-w spaces (to account for the cursor being in some other column), all + * other lines are indented by i spaces. */ void help_print_desc(const struct option *opt, const char *desc, int i, int w);