gbranden pushed a commit to branch master
in repository groff.
commit f1edc49bdaf16327df41f3ba98c58b499b2c1378
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 22 13:48:43 2026 -0600
[troff]: Revise `--version` output.
* src/roff/troff/input.cpp (main): Speak of "macro file search path",
not "macro search path", for greater clarity. Put a newline after the
version report to make it less confusing when seen in the context of a
wrapper program, which can follow it with other programs' output, as
with (on Android/Termux, at least) `groff -p --version`.
---
ChangeLog | 11 +++++++++++
src/roff/troff/input.cpp | 3 ++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index bcb7a0028..176328ce1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2026-11-22 G. Branden Robinson <[email protected]>
+
+ [troff]: Revise `--version` output.
+
+ * src/roff/troff/input.cpp (main): Speak of "macro file search
+ path", not "macro search path", for greater clarity. Put a
+ newline after the version report to make it less confusing when
+ seen in the context of a wrapper program, which can follow it
+ with other programs' output, as with (on Android/Termux, at
+ least) `groff -p --version`.
+
2026-11-22 G. Branden Robinson <[email protected]>
* src/roff/troff/node.cpp (set_ligature_mode_request): Throw
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index f3af9a7e9..bd4797be5 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -10435,8 +10435,9 @@ int main(int argc, char **argv)
if (want_version_report) {
(void) printf("GNU troff (groff) version %s\n", Version_string);
(void) putc('\n', stdout);
- (void) printf("macro search path: %s\n",
+ (void) printf("macro file search path: %s\n",
mac_path->contents());
+ (void) putc('\n', stdout);
exit(EXIT_SUCCESS);
}
set_string(".T", device);
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit