summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-11 17:16:51 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-11 17:16:51 +0000
commit5e455d86a5a5d8a59d1be5988f9769217208b603 (patch)
tree61b376a9356bdd6125f0fcc79ea8085475c7c28f /mandoc.1
parent4daa963c181b90eb8758f9cf7064f5926c509ced (diff)
downloadmandoc-5e455d86a5a5d8a59d1be5988f9769217208b603.tar.gz
style message about missing .Fn markup; inspired by mdoclint
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.19
1 files changed, 9 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index a2ca109b..981bce68 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -799,10 +799,19 @@ Do not use punctuation at the end of an
.Ic \&Nd
block.
.It Sy "no blank before trailing delimiter"
+.Pq mdoc
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.
+.It Sy "function name without markup"
+.Pq mdoc
+A word followed by an empty pair of parentheses occurs on a text line.
+Consider using an
+.Ic \&Fn
+or
+.Ic \&Xr
+macro.
.El
.Ss Warnings related to the document prologue
.Bl -ohang