groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/09: [grog,indxbib]: Tweak usage messages.


From: G. Branden Robinson
Subject: [groff] 02/09: [grog,indxbib]: Tweak usage messages.
Date: Wed, 4 Dec 2024 09:51:21 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit fba52fe2e2cfa75c0f90570dc15c6848357d5ac5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Dec 3 03:40:25 2024 -0600

    [grog,indxbib]: Tweak usage messages.
    
    * src/utils/grog/grog.pl (usage):
    * src/utils/indxbib/indxbib.cpp (usage): Stop shouting operand names.
      We don't otherwise do this, and "FILE" in particular frustrates "git
      grep"s because it collides with the "stdio.h" data type.
---
 ChangeLog                     | 8 ++++++++
 src/utils/grog/grog.pl        | 2 +-
 src/utils/indxbib/indxbib.cpp | 4 ++--
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9614e57ec..40b483eea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-12-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/utils/grog/grog.pl (usage):
+       * src/utils/indxbib/indxbib.cpp (usage): Stop shouting operand
+       names.  We don't otherwise do this, and "FILE" in particular
+       frustrates "git grep"s because it collides with the "stdio.h"
+       data type.
+
 2024-12-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/preproc/soelim/soelim.cpp (usage):
diff --git a/src/utils/grog/grog.pl b/src/utils/grog/grog.pl
index 1b4aac64a..daad73658 100644
--- a/src/utils/grog/grog.pl
+++ b/src/utils/grog/grog.pl
@@ -666,7 +666,7 @@ sub usage {
     "usage: $grog {-h | --help}\n";
   unless ($had_error) {
     print $stream "\n" .
-"Read each roff(7) input FILE and attempt to infer an appropriate\n" .
+"Read each roff(7) input file and attempt to infer an appropriate\n" .
 "groff(1) command to format it.  See the grog(1) manual page.\n";
   }
   exit $had_error;
diff --git a/src/utils/indxbib/indxbib.cpp b/src/utils/indxbib/indxbib.cpp
index 0fc40f36a..781e735c8 100644
--- a/src/utils/indxbib/indxbib.cpp
+++ b/src/utils/indxbib/indxbib.cpp
@@ -353,8 +353,8 @@ static void usage(FILE *stream)
   if (stdout == stream)
     fputs("\n"
 "GNU indxbib makes an inverted index of the bibliographic databases\n"
-"in each FILE to speed their access by refer(1), lookbib(1), and\n"
-"lkbib(1).  See the indxbib(1) manual page.\n",
+"in each operand file to speed their access by refer(1), lookbib(1),\n"
+"and lkbib(1).  See the indxbib(1) manual page.\n",
          stream);
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]