[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 47/72: [pfbtops]: Update usage message.
From: |
G. Branden Robinson |
Subject: |
[groff] 47/72: [pfbtops]: Update usage message. |
Date: |
Sun, 23 Oct 2022 22:25:41 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit f719ffe5ec8f80c62f66859b65685e99782d1cd7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Oct 22 15:15:12 2022 -0500
[pfbtops]: Update usage message.
* src/utils/pfbtops/pfbtops.c (usage): Update usage message. Present
different modes of operation on separate output lines. Document
--version and --help options.
Also use hyphen instead of underscore in metasyntactic variable name.
---
ChangeLog | 1 +
src/utils/pfbtops/pfbtops.c | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 00e2a2018..b649b63b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
* src/utils/indxbib/indxbib.cpp (usage):
* src/utils/lkbib/lkbib.cpp (usage):
* src/utils/lookbib/lookbib.cpp (usage):
+ * src/utils/pfbtops/pfbtops.c (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.
diff --git a/src/utils/pfbtops/pfbtops.c b/src/utils/pfbtops/pfbtops.c
index fcd08da56..81edee422 100644
--- a/src/utils/pfbtops/pfbtops.c
+++ b/src/utils/pfbtops/pfbtops.c
@@ -49,7 +49,10 @@ static void error(const char *s)
static void usage(FILE *stream)
{
- fprintf(stream, "usage: %s [-v] [pfb_file]\n", program_name);
+ fprintf(stream, "usage: %s [pfb-file]\n"
+ "usage: %s {-v | --version}\n"
+ "usage: %s --help\n",
+ program_name, program_name, program_name);
}
static void get_text(int n)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 47/72: [pfbtops]: Update usage message.,
G. Branden Robinson <=