[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 23/33: [grohtml]: Fix misleading diagnostic message.
From: |
G. Branden Robinson |
Subject: |
[groff] 23/33: [grohtml]: Fix misleading diagnostic message. |
Date: |
Sun, 29 Jan 2023 19:35:30 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 13b9ad2b364397064d1ccd9627e7059da786c79f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jan 24 15:46:08 2023 -0600
[grohtml]: Fix misleading diagnostic message.
* src/preproc/html/pre-html.cpp (main): The suggestion should be to
re-run the formatter (groff, troff), not "pre-grohtml", with a
different output driver since the document may be malformed.
---
ChangeLog | 8 ++++++++
src/preproc/html/pre-html.cpp | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 27bdb51d5..4603d7d91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-01-24 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ [grohtml]: Fix misleading diagnostic message.
+
+ * src/preproc/html/pre-html.cpp (main): The suggestion should be
+ to re-run the formatter (groff, troff), not "pre-grohtml", with
+ a different output driver since the document may be malformed.
+
2023-01-11 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/preproc/tbl/main.cpp (process_format): Fix code hygiene
diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp
index e8902f12b..9b4197659 100644
--- a/src/preproc/html/pre-html.cpp
+++ b/src/preproc/html/pre-html.cpp
@@ -1807,8 +1807,8 @@ int main(int argc, char **argv)
else
if (WEXITSTATUS(wstatus) != 0)
// XXX: This is a crappy suggestion. See Savannah #62673.
- fatal("'%1' exited with status %2; re-run '%1' with a different"
- " output driver to see diagnostic messages", argv[0],
+ fatal("'%1' exited with status %2; re-run with a different output"
+ " driver to see diagnostic messages", argv[0],
WEXITSTATUS(wstatus));
exit(EXIT_SUCCESS);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 23/33: [grohtml]: Fix misleading diagnostic message.,
G. Branden Robinson <=