gbranden pushed a commit to branch master
in repository groff.

commit f30428335d76cbfe3dfe54989ec5133d7fb08b0c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Mar 7 14:12:14 2022 +1100

    [xtotroff]: Tweak usage message.
    
    * src/utils/xtotroff/xtotroff.c (usage): Align with man page.  Prefix
      each mode of operation with "usage:", to reduce confusion when lines
      wrap and to ease grepping.
---
 ChangeLog                     | 1 +
 src/utils/xtotroff/xtotroff.c | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4acdc654..7ddee364 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2022-03-07  G. Branden Robinson <[email protected]>
 
        * src/utils/xtotroff/xtotroff.1.man (Options) <-d>: Document it.
+       * src/utils/xtotroff/xtotroff.c (usage): Align with man page.
 
 2022-03-07  G. Branden Robinson <[email protected]>
 
diff --git a/src/utils/xtotroff/xtotroff.c b/src/utils/xtotroff/xtotroff.c
index eee39eae..1519a8c3 100644
--- a/src/utils/xtotroff/xtotroff.c
+++ b/src/utils/xtotroff/xtotroff.c
@@ -270,9 +270,9 @@ static bool MapFont(char *font_name, const char *troff_name)
 static void usage(FILE *stream)
 {
   fprintf(stream,
-         "usage: %s [-d directory] [-r resolution] [-s type-size]"
-         " font-map\n"
-         "       %s -v\n",
+         "usage: %s [-d destination-directory] [-r resolution]"
+         " [-s type-size] font-map\n"
+         "usage: %s -v\n",
          program_name, program_name);
 }
 

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

Reply via email to