groff-commit
[Top][All Lists]
Advanced

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

[groff] 27/72: [grolj4]: Update usage message.


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

gbranden pushed a commit to branch master
in repository groff.

commit a5de00e5fe7159ef78c59aad0090f033e7f8e330
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Oct 21 21:22:59 2022 -0500

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

diff --git a/ChangeLog b/ChangeLog
index 5a869d533..2893d532b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2022-10-21  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * src/devices/grolj4/lj4.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/devices/grolj4/lj4.cpp b/src/devices/grolj4/lj4.cpp
index 51a8fa539..d66794ad4 100644
--- a/src/devices/grolj4/lj4.cpp
+++ b/src/devices/grolj4/lj4.cpp
@@ -700,9 +700,11 @@ int main(int argc, char **argv)
 static void usage(FILE *stream)
 {
   fprintf(stream,
-         "usage: %s [-lv] [-d [n]] [-c n] [-p paper_size]\n"
-         "       [-w n] [-F dir] [files ...]\n",
-         program_name);
+         "usage: %s [-l] [-c n] [-d [n]] [-F dir] [-p paper-format]"
+         " [-w n] [file ...]\n"
+         "usage: %s {-v | --version}\n"
+         "usage: %s --help\n",
+         program_name, program_name, program_name);
 }
 
 // Local Variables:



reply via email to

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