]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Improved usage message.
authorBruno Haible <bruno@clisp.org>
Mon, 25 Jun 2001 16:17:54 +0000 (16:17 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 25 Jun 2001 16:17:54 +0000 (16:17 +0000)
src/ChangeLog
src/msggrep.c

index dfd22bd6a7ed6f7ec837245646fe28824a54e731..fb2cc07fc7a69e8d9741b827c9ca1daa8e8c8a73 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-25  Bruno Haible  <haible@clisp.cons.org>
+
+       * msggrep.c (usage): Explain the pattern syntax.
+
 2001-06-18  Karl Eichwalder  <ke@suse.de>
 
        * msgcomm.c (long_options): Add '--unique' option as documented
index 576c42300cce6121f75dd5722f7a590b3da5d0c2..47b0eefece71b5725c156fda2167951f05c7cc01 100644 (file)
@@ -407,8 +407,15 @@ A message is selected if it comes from one of the specified source files,\n\
 or if it comes from one of the specified domains,\n\
 or if -K is given and its key (msgid or msgid_plural) matches MSGID-PATTERN,\n\
 or if -T is given and its translation (msgstr) matches MSGSTR-PATTERN.\n\
+\n\
+When more than one selection criterion is specified, the set of selected\n\
+messages is the union of the selected messages of each criterion.\n\
+\n\
+MSGID-PATTERN or MSGSTR-PATTERN syntax:\n\
+  [-E | -F] [-e PATTERN | -f FILE]...\n\
 PATTERNs are basic regular expressions by default, or extended regular\n\
 expressions if -E is given, or fixed strings if -F is given.\n\
+\n\
   -N, --location=SOURCEFILE   select messages extracted from SOURCEFILE\n\
   -M, --domain=DOMAINNAME     select messages belonging to domain DOMAINNAME\n\
   -K, --msgid                 start of patterns for the msgid\n\