gbranden pushed a commit to branch master in repository groff. commit 7796df2707cf39fa61ff8d541fdf1821927c5b87 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Sat Aug 2 09:19:37 2025 -0500
[tfmtodit]: Improve usage message upon `--help`. * src/utils/tfmtodit/tfmtodit.cpp (usage): Summarize purpose of command when help is requested. --- ChangeLog | 7 +++++++ src/utils/tfmtodit/tfmtodit.cpp | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8307ce9f3..4feb6dc53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-08-02 G. Branden Robinson <g.branden.robin...@gmail.com> + + [tfmtodit]: Improve usage message upon `--help`. + + * src/utils/tfmtodit/tfmtodit.cpp (usage): Summarize purpose of + command when help is requested. + 2025-08-02 G. Branden Robinson <g.branden.robin...@gmail.com> [pfbtops]: Improve usage message upon `--help`. diff --git a/src/utils/tfmtodit/tfmtodit.cpp b/src/utils/tfmtodit/tfmtodit.cpp index 54675deb3..b8183f635 100644 --- a/src/utils/tfmtodit/tfmtodit.cpp +++ b/src/utils/tfmtodit/tfmtodit.cpp @@ -1,4 +1,4 @@ -/* Copyright (C) 1989-2024 Free Software Foundation, Inc. +/* Copyright (C) 1989-2025 Free Software Foundation, Inc. Written by James Clark (j...@jclark.com) This file is part of groff. @@ -893,6 +893,11 @@ static void usage(FILE *stream) "usage: %s {-v | --version}\n" "usage: %s --help\n", program_name, program_name, program_name); + if (stdout == stream) + fputs("\n" +"Create a font description file for use with groff(1)'s 'dvi' output\n" +"device. See the tfmtodit(1) manual page.\n", + stream); } // Local Variables: _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit