From 9b9875c6ad91ba58d59472ce95ca582439b4e4cd Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 9 Sep 2006 17:27:59 +0000 Subject: [PATCH] (struct argp_option): Document the use of N_() wrappers. --- lib/argp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/argp.h b/lib/argp.h index f4d6953bd..8cb8c7238 100644 --- a/lib/argp.h +++ b/lib/argp.h @@ -94,7 +94,10 @@ struct argp_option /* 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 -- 2.11.0