aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit874ac26ff8affa95d651832b3050f9fd13ae9aca (patch)
tree3e41ce381f7ce00da58aa4520a6496ec065b39e7 /mandoc.1
parentd8b6133e338cc53510b2bd1ebbfa509a54acccda (diff)
downloadmandoc-874ac26ff8affa95d651832b3050f9fd13ae9aca.tar.gz
mandoc-874ac26ff8affa95d651832b3050f9fd13ae9aca.tar.zst
mandoc-874ac26ff8affa95d651832b3050f9fd13ae9aca.zip
warn about AUTHORS sections without .An macros, inspired by mdoclint(1)
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.110
1 files changed, 8 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 6df15edc..ee4c4c51 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.110 2014/09/03 05:22:45 schwarze Exp $
+.\" $Id: mandoc.1,v 1.111 2014/09/07 23:25:01 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 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: September 3 2014 $
+.Dd $Mdocdate: September 7 2014 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -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