Mercurial > hg > octave-lojdl > gnulib-hg
changeset 7284:ec009e30ccb1
(struct argp_option): Document the use of N_() wrappers.
author | Sergey Poznyakoff <gray@gnu.org.ua> |
---|---|
date | Sat, 09 Sep 2006 17:27:59 +0000 |
parents | 1b36049ccb30 |
children | 31b9ea94ad09 |
files | lib/argp.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/argp.h +++ b/lib/argp.h @@ -94,7 +94,10 @@ /* The doc string for this option. If both NAME and KEY are 0, This string will be printed outdented from the normal option column, making it useful as a group header (it will be the first thing printed in its - group); in this usage, it's conventional to end the string with a `:'. */ + group); in this usage, it's conventional to end the string with a `:'. + + Write the initial value as N_("TEXT") if you want xgettext to collect + it into a POT file. */ const char *doc; /* The group this option is in. In a long help message, options are sorted