diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-06-27 17:57:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-06-27 17:57:54 +0000 |
commit | be51c141f11b2f1550c1b8bbd47639509679ecd3 (patch) | |
tree | d34469b5bc2a0774c98deaa7c24fff6bcd606281 /mandoc.1 | |
parent | 78fc2ca35b074c97e98436c33ca288bd9a7a09d0 (diff) | |
download | mandoc-be51c141f11b2f1550c1b8bbd47639509679ecd3.tar.gz mandoc-be51c141f11b2f1550c1b8bbd47639509679ecd3.tar.zst mandoc-be51c141f11b2f1550c1b8bbd47639509679ecd3.zip |
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.1 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 2 2021 $ +.Dd $Mdocdate: June 27 2021 $ .Dt MANDOC 1 .Os .Sh NAME @@ -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 |