gbranden pushed a commit to branch master
in repository groff.
commit c0d25b3a47c5a37371656574f285814645dcb469
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Mar 15 20:12:40 2022 +1100
[grodvi]: Update usage message.
* src/devices/grodvi/dvi.cpp (usage): Align usage message with man page;
disclose `-l` option.
---
ChangeLog | 5 +++++
src/devices/grodvi/dvi.cpp | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c2c1041b..d7274547 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-15 G. Branden Robinson <[email protected]>
+
+ * src/devices/grodvi/dvi.cpp (usage): Align usage message with
+ man page; disclose `-l` option.
+
2022-03-15 G. Branden Robinson <[email protected]>
* src/devices/grodvi/dvi.cpp (main):
diff --git a/src/devices/grodvi/dvi.cpp b/src/devices/grodvi/dvi.cpp
index 76916900..c98407b1 100644
--- a/src/devices/grodvi/dvi.cpp
+++ b/src/devices/grodvi/dvi.cpp
@@ -972,8 +972,9 @@ int main(int argc, char **argv)
static void usage(FILE *stream)
{
- fprintf(stream, "usage: %s [-dv] [-F dir] [-w n] [files ...]\n",
- program_name);
+ fprintf(stream,
+"usage: %s [-dl] [-F dir] [-p paper-format] [-w n] [file ...]\n"
+"usage: %s {-v | --version}\n", program_name, program_name);
}
// Local Variables:
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit