summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-07 23:25:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-07 23:25:01 +0000
commite7f17cff677b94787cb26fd21afbbc4ecc6a91f0 (patch)
tree37015ae9e64abd25db44772cfc5c0a67fd42de2a /mandoc.1
parent6a8ae4913857a065ca7564e19473146c144d3c29 (diff)
downloadmandoc-e7f17cff677b94787cb26fd21afbbc4ecc6a91f0.tar.gz
warn about AUTHORS sections without .An macros, inspired by mdoclint(1)
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.16
1 files changed, 6 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 063ea13f..d8a936f8 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -766,6 +766,12 @@ The same standard section title occurs more than once.
.Pq mdoc
A standard section header occurs in a section of the manual
where it normally isn't useful.
+.It Sy "AUTHORS section without An macro"
+.Pq mdoc
+An AUTHORS sections contains no
+.Ic \&An
+macros, or only empty ones.
+Probably, there are author names lacking markup.
.El
.Ss "Warnings related to macros and nesting"
.Bl -ohang