gbranden pushed a commit to branch master
in repository groff.

commit 8b958f0450ecd83142182c3d3efc687c0e642a3a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Dec 3 03:49:55 2024 -0600

    [tbl]: Describe command if asked for `--help`.
    
    * src/preproc/tbl/main.cpp (usage): If asked for `--help`, summarize
      command purpose in message.
---
 ChangeLog                | 5 +++++
 src/preproc/tbl/main.cpp | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 40b483eea..a2dc01004 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-03  G. Branden Robinson <[email protected]>
+
+       * src/preproc/tbl/main.cpp (usage): If asked for `--help`,
+       summarize command purpose in message.
+
 2024-12-03  G. Branden Robinson <[email protected]>
 
        * src/utils/grog/grog.pl (usage):
diff --git a/src/preproc/tbl/main.cpp b/src/preproc/tbl/main.cpp
index d0766c0c5..da2d98f23 100644
--- a/src/preproc/tbl/main.cpp
+++ b/src/preproc/tbl/main.cpp
@@ -1641,6 +1641,12 @@ static void usage(FILE *stream)
 "usage: %s {-v | --version}\n"
 "usage: %s --help\n",
         program_name, program_name, program_name);
+  if (stdout == stream)
+    fputs("\n"
+"GNU tbl is a filter that translates descriptions of tables embedded\n"
+"in roff(7) input into the language understood by GNU troff(1).  See\n"
+"the tbl(1) manual page.\n",
+         stream);
 }
 
 int main(int argc, char **argv)

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to