groff-commit
[Top][All Lists]
Advanced

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

[groff] 49/72: [grohtml]: Update usage message.


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

gbranden pushed a commit to branch master
in repository groff.

commit 042d2b010133fd98d90b24b81d0f7d69036f7cfa
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 23 11:56:52 2022 -0500

    [grohtml]: Update usage message.
    
    * src/devices/grohtml/post-html.cpp (usage): Update usage message.
      Present different modes of operation on separate output lines.
---
 ChangeLog                         |  1 +
 src/devices/grohtml/post-html.cpp | 12 ++++++------
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e43a06882..deff16302 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2022-10-21  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/devices/grodvi/dvi.cpp (usage):
+       * src/devices/grohtml/post-html.cpp (usage):
        * src/devices/grolbp/lbp.cpp (usage):
        * src/devices/grolj4/lj4.cpp (usage):
        * src/devices/grops/ps.cpp (usage):
diff --git a/src/devices/grohtml/post-html.cpp 
b/src/devices/grohtml/post-html.cpp
index ba6f7e0a3..fb4fdc28b 100644
--- a/src/devices/grohtml/post-html.cpp
+++ b/src/devices/grohtml/post-html.cpp
@@ -5669,12 +5669,12 @@ int main(int argc, char **argv)
 
 static void usage(FILE *stream)
 {
-  fprintf(stream, "usage: %s [-bCGhlnrVy] [-F font-directory]"
-         " [-j output-stem] [-s base-point-size] [-S heading-level]"
-         " [-x html-dialect] [file ...]\n",
-         program_name);
-  fprintf(stream, "usage: %s {--help | -v | --version}\n",
-         program_name);
+  fprintf(stream,
+"usage: %s [-bCGhlnrVy] [-F font-directory] [-j output-stem]"
+" [-s base-type-size] [-S heading-level] [-x html-dialect] [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]