aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitd686462c7725fa8c3cab24acbaf5242bc67ad61a (patch)
treed5b47dc4cafb926caf03d959df9da52afcb350f2 /mandoc.1
parent472ac75ea82cd814223309011d195f80bdd9b820 (diff)
downloadmandoc-d686462c7725fa8c3cab24acbaf5242bc67ad61a.tar.gz
mandoc-d686462c7725fa8c3cab24acbaf5242bc67ad61a.tar.zst
mandoc-d686462c7725fa8c3cab24acbaf5242bc67ad61a.zip
style message about missing .Fn markup; inspired by mdoclint
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.113
1 files changed, 11 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 3cbe4561..1fe46032 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.197 2017/06/10 01:48:53 schwarze Exp $
+.\" $Id: mandoc.1,v 1.198 2017/06/11 17:16:51 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 10 2017 $
+.Dd $Mdocdate: June 11 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -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