gbranden pushed a commit to branch master
in repository groff.
commit 2796eab167c1b06ac3f37fbe84bc59b21017c81b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Sep 15 03:30:43 2024 -0500
src/devices/grotty/tty.cpp: Improve usage message.
Synopsize "modern" and "legacy" mode invocations separately as the man
page already does, mitigating the blitz of option letters thrown at the
user.
---
src/devices/grotty/tty.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/devices/grotty/tty.cpp b/src/devices/grotty/tty.cpp
index 8ec8cd3b7..976c5afdf 100644
--- a/src/devices/grotty/tty.cpp
+++ b/src/devices/grotty/tty.cpp
@@ -1021,10 +1021,11 @@ int main(int argc, char **argv)
static void usage(FILE *stream)
{
fprintf(stream,
-"usage: %s [-bBcdfhioruU] [-F font-directory] [file ...]\n"
+"usage: %s [-dfho] [-i|-r] [-F font-directory] [file ...]\n"
+"usage: %s -c [-bBdfhouU] [-F font-directory] [file ...]\n"
"usage: %s {-v | --version}\n"
"usage: %s --help\n",
- program_name, program_name, program_name);
+ program_name, program_name, program_name, program_name);
if (stdout == stream) {
fputs(
"\n"
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit