groff-commit
[Top][All Lists]
Advanced

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

[groff] 38/72: [tfmtodit]: Update usage message.


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

gbranden pushed a commit to branch master
in repository groff.

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

    [tfmtodit]: Update usage message.
    
    * src/utils/tfmtodit/tfmtodit.cpp (usage): Update usage message.
      Present different modes of operation on separate output lines.  Sort
      options in English lexicographic order.
---
 ChangeLog                       | 1 +
 src/utils/tfmtodit/tfmtodit.cpp | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 6781927f9..fb5cb1360 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
        * src/preproc/soelim/soelim.cpp (usage):
        * src/roff/groff/groff.cpp (synopsis, help):
        * src/utils/addftinfo/addftinfo.cpp (usage):
+       * src/utils/tfmtodit/tfmtodit.cpp (usage):
        * src/utils/xtotroff/xtotroff.c (usage): Update usage message.
        Present different modes of operation on separate output lines.
        Sort options in English lexicographic order.
diff --git a/src/utils/tfmtodit/tfmtodit.cpp b/src/utils/tfmtodit/tfmtodit.cpp
index b809c3e77..6bee68e4d 100644
--- a/src/utils/tfmtodit/tfmtodit.cpp
+++ b/src/utils/tfmtodit/tfmtodit.cpp
@@ -876,7 +876,9 @@ static void usage(FILE *stream)
 {
   fprintf(stream,
 "usage: %s [-s] [-g gf-file] [-k skew-char] tfm-file map-file font\n"
-"usage: %s { -v | --version }\n", program_name, program_name);
+"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]