summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-06-27 17:57:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-06-27 17:57:54 +0000
commit2ec8a158cb2aaa80f61ebc3874b1650780239ef5 (patch)
treebc2f63eaafd788f966ab5f61236a0b8c3cf34a70 /mandoc.1
parent5e803b18a3083fa5c78121999261879e3c89c0d9 (diff)
downloadmandoc-2ec8a158cb2aaa80f61ebc3874b1650780239ef5.tar.gz
add a style message about overlong text lines,
trying very hard to avoid false positives, not at all trying to catch as many cases as possible; feature originally suggested by tb@, OK tb@ kn@ jmc@
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.13
1 files changed, 3 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 7bd0911a..e9d4e1aa 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1066,6 +1066,9 @@ An
request occurs even though the document already switched to no-fill mode
and did not switch back to fill mode yet.
It has no effect.
+.It Sy "input text line longer than 80 bytes"
+Consider breaking the input text line
+at one of the blank characters before column 80.
.It Sy "verbatim \(dq--\(dq, maybe consider using \e(em"
.Pq mdoc
Even though the ASCII output device renders an em-dash as