groff-commit
[Top][All Lists]
Advanced

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

[groff] 32/37: [troff]: Shorten `pi` diagnostic messages.


From: G. Branden Robinson
Subject: [groff] 32/37: [troff]: Shorten `pi` diagnostic messages.
Date: Fri, 27 Sep 2024 01:18:14 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 806f8f05111771da26f49346718c008cf47410f7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Sep 26 22:31:56 2024 -0500

    [troff]: Shorten `pi` diagnostic messages.
    
    * src/roff/troff/input.cpp (pipe_output): Shorten diagnostics.
---
 ChangeLog                | 4 ++++
 src/roff/troff/input.cpp | 7 +++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b31b3831f..494b25330 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-09-26  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/roff/troff/input.cpp (pipe_output): Shorten diagnostics.
+
 2024-09-26  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [pdfmom]: Handle errors and abnormal exits.
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index f14a42336..243a7fa82 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -8407,14 +8407,13 @@ char *read_string()
 void pipe_output()
 {
   if (!has_arg(true /* peek */)) {
-    warning(WARN_MISSING, "device-independent output piping request"
-           " expects a system command as argument");
+    warning(WARN_MISSING, "output piping request expects a system"
+           " command as argument");
     skip_line();
     return;
   }
   if (!want_unsafe_requests) {
-    error("device-independent output piping request is not allowed in"
-         " safer mode");
+    error("output piping request is not allowed in safer mode");
     skip_line();
   }
   else {



reply via email to

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