summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-10 01:48:53 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-10 01:48:53 +0000
commit81aa584b2fb42578083c3724876f0d11d9e09e4d (patch)
tree542564f1972e19ff89c99a2408036b552424ca0a /mandoc.1
parent0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff)
downloadmandoc-81aa584b2fb42578083c3724876f0d11d9e09e4d.tar.gz
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.15
1 files changed, 5 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index d7cc0f72..a2ca109b 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -798,6 +798,11 @@ number.
Do not use punctuation at the end of an
.Ic \&Nd
block.
+.It Sy "no blank before trailing delimiter"
+The last argument of a macro that supports trailing delimiter
+arguments is longer than one byte and ends with a trailing delimiter.
+Consider inserting a blank such that the delimiter becomes a separate
+argument, thus moving it out of the scope of the macro.
.El
.Ss Warnings related to the document prologue
.Bl -ohang