gbranden pushed a commit to branch branden-2023-04-07
in repository groff.
commit 2b2e5ee3fab705dae96b20a462f333bc135b273c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Apr 1 10:58:06 2023 -0500
mmroff(1): Document --help, --version in usage.
* mmroff.pl: Document `--help` and `--version` options in usage message.
---
contrib/mm/ChangeLog | 5 +++++
contrib/mm/mmroff.pl | 2 ++
2 files changed, 7 insertions(+)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index acb0937e7..1549a617e 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,8 @@
+2023-04-01 G. Branden Robinson <[email protected]>
+
+ * mmroff.pl: Document `--help` and `--version` options in usage
+ message.
+
2023-02-17 G. Branden Robinson <[email protected]>
[mm]: Add `--help` option support to mmroff.
diff --git a/contrib/mm/mmroff.pl b/contrib/mm/mmroff.pl
index af8bf906e..9481e8329 100644
--- a/contrib/mm/mmroff.pl
+++ b/contrib/mm/mmroff.pl
@@ -31,6 +31,8 @@ my $no_exec;
if (grep(/^--help$/, @ARGV)) {
print "usage: mmroff [-x] [groff-option ...] [file ...]\n";
+ print "usage: mmroff --version\n";
+ print "usage: mmroff --help\n";
exit;
}
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit