diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-11 17:16:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-11 17:16:51 +0000 |
commit | 5e455d86a5a5d8a59d1be5988f9769217208b603 (patch) | |
tree | 61b376a9356bdd6125f0fcc79ea8085475c7c28f /mandoc.1 | |
parent | 4daa963c181b90eb8758f9cf7064f5926c509ced (diff) | |
download | mandoc-5e455d86a5a5d8a59d1be5988f9769217208b603.tar.gz |
style message about missing .Fn markup; inspired by mdoclint
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |