groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 17/20: [troff]: Clarify warning diagnostic.


From: G. Branden Robinson
Subject: [groff] 17/20: [troff]: Clarify warning diagnostic.
Date: Mon, 21 Oct 2024 20:14:54 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 8d0e69d4bd03529584c974ad0ce59d8a6431238c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+       * 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 <g.branden.robinson@gmail.com>
 
        * 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");
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]