]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
msggrep: Finish documenting the -X option (left-over from 2006-03-17).
authorBruno Haible <bruno@clisp.org>
Thu, 3 Jul 2025 05:55:01 +0000 (07:55 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 3 Jul 2025 05:55:01 +0000 (07:55 +0200)
* gettext-tools/doc/msggrep.texi: Mention the -X option in the summary.

gettext-tools/doc/msggrep.texi

index 3e1b5652bdcb1a8ad51877b2dcafc4880913200e..1673d29d370494e30101df6669c169a891753ecb 100644 (file)
@@ -1,5 +1,5 @@
 @c This file is part of the GNU gettext manual.
-@c Copyright (C) 1995-2019 Free Software Foundation, Inc.
+@c Copyright (C) 1995-2025 Free Software Foundation, Inc.
 @c See the file gettext.texi for copying conditions.
 
 @pindex msggrep
@@ -49,7 +49,7 @@ or if it is @samp{-}.
 @example
   [-N @var{sourcefile}]... [-M @var{domainname}]...
   [-J @var{msgctxt-pattern}] [-K @var{msgid-pattern}] [-T @var{msgstr-pattern}]
-  [-C @var{comment-pattern}]
+  [-C @var{comment-pattern}] [-X @var{extracted-comment-pattern}]
 @end example
 
 A message is selected if
@@ -63,7 +63,9 @@ A message is selected if
 @item or if @samp{-T} is given and its translation (msgstr) matches
 @var{msgstr-pattern},
 @item or if @samp{-C} is given and the translator's comment matches
-@var{comment-pattern}.
+@var{comment-pattern},
+@item or if @samp{-X} is given and the extracted comment matches
+@var{extracted-comment-pattern}.
 @end itemize
 
 When more than one selection criterion is specified, the set of selected