gbranden pushed a commit to branch master
in repository groff.
commit a2bd4a3fb06378f5f1feadbb337f5296e68d74e4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Aug 6 08:13:24 2026 -0500
[grn]: Revise/parallelize usage, command synopsis.
* src/preproc/grn/grn.1.man (Synopsis):
* src/preproc/grn/main.cpp (usage): Use hyphenated noun phrases to
document option arguments. Contrast with "Options" sections of man
pages, which contextualize metasyntactic nonce terms like "dir" and
"dev" adjacently.
* src/preproc/grn/grn.1.man (Synopsis): Bring up to date with recent
rename of `-M` option to `-I`. Continues commit 9e60503c01, 6 May.
---
ChangeLog | 15 +++++++++++++++
src/preproc/grn/grn.1.man | 6 +++---
src/preproc/grn/main.cpp | 3 ++-
3 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3a79af4d5..3d8ca2a92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2026-08-06 G. Branden Robinson <[email protected]>
+
+ [grn]: Revise and parallelize usage message and command
+ synopsis.
+
+ * src/preproc/grn/grn.1.man (Synopsis):
+ * src/preproc/grn/main.cpp (usage): Use hyphenated noun phrases
+ to document option arguments. Contrast with "Options" sections
+ of man pages, which contextualize metasyntactic nonce terms like
+ "dir" and "dev" adjacently.
+
+ * src/preproc/grn/grn.1.man (Synopsis): Bring up to date with
+ recent rename of `-M` option to `-I`. Continues commit
+ 9e60503c01, 6 May.
+
2026-08-02 Bruno Haible <[email protected]>
[eqn,pic,tbl]: Fix Savannah #68585.
diff --git a/src/preproc/grn/grn.1.man b/src/preproc/grn/grn.1.man
index d8bfdbb97..1d11793af 100644
--- a/src/preproc/grn/grn.1.man
+++ b/src/preproc/grn/grn.1.man
@@ -57,11 +57,11 @@ documents
.SY @g@grn
.RB [ \-C ]
.RB [ \-F\~\c
-.IR dir ]
+.IR font-directory ]
.RB [ \-I\~\c
-.IR dir ]
+.IR inclusion-directory ]
.RB [ \-T\~\c
-.IR dev ]
+.IR device ]
.RI [ file\~ .\|.\|.]
.YS
.
diff --git a/src/preproc/grn/main.cpp b/src/preproc/grn/main.cpp
index dc2835f0e..038ab26ce 100644
--- a/src/preproc/grn/main.cpp
+++ b/src/preproc/grn/main.cpp
@@ -264,7 +264,8 @@ static void
usage(FILE *stream)
{
fprintf(stream,
- "usage: %s [-Cs] [-M dir] [-F dir] [-T dev] [file ...]\n"
+ "usage: %s [-Cs] [-F font-directory] [-I inclusion-directory]"
+ " [-T device] [file ...]\n"
"usage: %s {-v | --version}\n"
"usage: %s --help\n",
program_name, program_name, program_name);
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit