groff-commit
[Top][All Lists]
Advanced

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

[groff] 31/72: [grn]: Update usage message.


From: G. Branden Robinson
Subject: [groff] 31/72: [grn]: Update usage message.
Date: Sun, 23 Oct 2022 22:25:38 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 8c32fe238a72de5ee909605c988b79645c029e39
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Oct 21 22:07:25 2022 -0500

    [grn]: Update usage message.
    
    * src/preproc/grn/main.cpp (usage): Update usage message.  Present
      different modes of operation on separate output lines.  Sort options
      in English lexicographic order.
---
 ChangeLog                | 1 +
 src/preproc/grn/main.cpp | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a3f7e86ee..e1e01fb6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        * src/devices/grolbp/lbp.cpp (usage):
        * src/devices/grolj4/lj4.cpp (usage):
        * src/preproc/eqn/main.cpp (usage):
+       * src/preproc/grn/main.cpp (usage):
        * src/preproc/pic/main.cpp (usage): Update usage message.
        Present different modes of operation on separate output lines.
        Sort options in English lexicographic order.
diff --git a/src/preproc/grn/main.cpp b/src/preproc/grn/main.cpp
index a96f25d49..bb20296b1 100644
--- a/src/preproc/grn/main.cpp
+++ b/src/preproc/grn/main.cpp
@@ -259,8 +259,10 @@ void
 usage(FILE *stream)
 {
   fprintf(stream,
-         "usage: %s [-vCs] [-M dir] [-F dir] [-T dev] [file ...]\n",
-         program_name);
+         "usage: %s [-Cs] [-M dir] [-F dir] [-T dev] [file ...]\n"
+         "usage: %s {-v | --version}\n"
+         "usage: %s --help\n",
+         program_name, program_name, program_name);
 }
 
 



reply via email to

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