changeset 7282:83ef60d70f6b

(struct argp): Document the N_("..") "\v" N_("..") convention. Text proposed by Bruno Haible.
author Sergey Poznyakoff <>
date Sat, 09 Sep 2006 15:58:47 +0000
parents 62b6cc922723
children 1b36049ccb30
files lib/argp.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/argp.h
+++ b/lib/argp.h
@@ -243,7 +243,9 @@
   /* If non-NULL, a string containing extra text to be printed before and
      after the options in a long help message (separated by a vertical tab
-     `\v' character).  */
+     `\v' character).
+     Write the initial value as N_("BEFORE-TEXT") "\v" N_("AFTER-TEXT") if
+     you want xgettext to collect the two pieces of text into a POT file.  */
   const char *doc;
   /* A vector of argp_children structures, terminated by a member with a 0