summaryrefslogtreecommitdiffstats
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
commit8275a8e52fbf7fc40a4ad55c8d4ad9efe8f67058 (patch)
treec81a99061a1263dce03ec39c840a76a6e40782dd /mandoc.1
parent01e7064c09b621aa81c81b4ce8108312e8e2d7b1 (diff)
downloadmandoc-8275a8e52fbf7fc40a4ad55c8d4ad9efe8f67058.tar.gz
warn about commas in function arguments; inspired by mdoclint(1)
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.17
1 files changed, 7 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index ebb7df57..04902e35 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -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