gbranden pushed a commit to branch master
in repository groff.
commit 8d0e69d4bd03529584c974ad0ce59d8a6431238c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Oct 19 04:58:16 2024 -0500
[troff]: Clarify warning diagnostic.
* src/roff/troff/node.cpp (troff_output_file::trailer): Clarify new
warning diagnostic when `-o` option given but no output pages lie
within the requested range.
---
ChangeLog | 6 ++++++
src/roff/troff/node.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 57bf6edfa..10178650b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-19 G. Branden Robinson <[email protected]>
+
+ * src/roff/troff/node.cpp (troff_output_file::trailer): Clarify
+ new warning diagnostic when `-o` option given but no output
+ pages lie within the requested range.
+
2024-10-19 G. Branden Robinson <[email protected]>
* doc/doc.am (doc/groff-man-pages.pdf)
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index d18d4eebe..2c3a25cbf 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -1613,7 +1613,7 @@ void troff_output_file::trailer(vunits page_length)
}
}
else
- warning(WARN_RANGE, "no pages in output page selection list");
+ warning(WARN_RANGE, "no pages match output page selection list");
put("x stop\n");
}
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit