From: Bruno Haible Date: Tue, 18 Mar 2003 10:42:23 +0000 (+0000) Subject: Document option -C completely. X-Git-Tag: v0.12~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ce853c7a59d6e375fcae79a258eaed19f2efa4;p=thirdparty%2Fgettext.git Document option -C completely. --- diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index 27667cdfc..d73e0387b 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-10 Bruno Haible + + * msggrep.texi: Document option -C completely. + Reported by Martin Quinson . + 2003-03-03 Bruno Haible * msgen.texi: Don't say that the entries are marked fuzzy. diff --git a/gettext-tools/doc/msggrep.texi b/gettext-tools/doc/msggrep.texi index e66391a7f..0e7e19336 100644 --- a/gettext-tools/doc/msggrep.texi +++ b/gettext-tools/doc/msggrep.texi @@ -95,6 +95,12 @@ Start of patterns for the msgid. @opindex --msgstr@r{, @code{msggrep} option} Start of patterns for the msgstr. +@item -C +@itemx --comment +@opindex -C@r{, @code{msggrep} option} +@opindex --comment@r{, @code{msggrep} option} +Start of patterns for the translator's comment. + @item -E @itemx --extended-regexp @opindex -E@r{, @code{msggrep} option} diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 7babeb529..bb2cdd45f 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2003-03-10 Bruno Haible + + * msggrep.c (no_pass): Mention option -C. + (usage): Document option -C completely. + Reported by Martin Quinson . + 2003-02-28 Bruno Haible Support for relocatable installation. diff --git a/gettext-tools/src/msggrep.c b/gettext-tools/src/msggrep.c index fe35e272b..0ce5a3375 100644 --- a/gettext-tools/src/msggrep.c +++ b/gettext-tools/src/msggrep.c @@ -391,7 +391,7 @@ static void no_pass (int opt) { error (EXIT_SUCCESS, 0, - _("option '%c' cannot be used before 'K' or 'T' has been specified"), + _("option '%c' cannot be used before 'K' or 'T' or 'C' has been specified"), opt); usage (EXIT_FAILURE); } @@ -461,6 +461,7 @@ expressions if -E is given, or fixed strings if -F is given.\n\ -M, --domain=DOMAINNAME select messages belonging to domain DOMAINNAME\n\ -K, --msgid start of patterns for the msgid\n\ -T, --msgstr start of patterns for the msgstr\n\ + -C, --comment start of patterns for the translator's comment\n\ -E, --extended-regexp PATTERN is an extended regular expression\n\ -F, --fixed-strings PATTERN is a set of newline-separated strings\n\ -e, --regexp=PATTERN use PATTERN as a regular expression\n\