aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-12 00:54:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-12 00:54:10 +0000
commit2a37145b398147deef315887314495f6a9b9637e (patch)
treeff7fcdf2b5c19ef36f85285e6f85d76319c4c9f8 /mandoc.1
parente87764af026befe56bf121a50708564d413fa82c (diff)
downloadmandoc-2a37145b398147deef315887314495f6a9b9637e.tar.gz
mandoc-2a37145b398147deef315887314495f6a9b9637e.tar.zst
mandoc-2a37145b398147deef315887314495f6a9b9637e.zip
warn about commas in function arguments; inspired by mdoclint(1)
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.19
1 files changed, 8 insertions, 1 deletions
diff --git a/mandoc.1 b/mandoc.1
index 2c5dccbc..966c97e7 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.112 2014/09/12 00:10:26 schwarze Exp $
+.\" $Id: mandoc.1,v 1.113 2014/09/12 00:54:10 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -1118,6 +1118,13 @@ macro has an invalid argument.
It is used verbatim, with
.Qq "AT&T UNIX "
prefixed to it.
+.It Sy "comma in function argument"
+.Pq mdoc
+An argument of an
+.Ic \&Fa
+or
+.Ic \&Fn
+macro contains a comma; it should probably be split into two arguments.
.It Sy "invalid content in Rs block"
.Pq mdoc
An