summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-23 13:31:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-23 13:31:03 +0000
commitd9ef974d05cb710d89c63e8ee474a0eb00e2d56b (patch)
tree8fe4c115973611db8d2d44351bf3f89847e38b30 /mdoc.7
parent4c2af21a8a623f5d22f660bdcfff1e1c23b9bcd2 (diff)
downloadmandoc-d9ef974d05cb710d89c63e8ee474a0eb00e2d56b.tar.gz
improve NAME section diagnostics;
confusing messages reported by Jan Stary <hans at stare dot cz>
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.78
1 files changed, 3 insertions, 5 deletions
diff --git a/mdoc.7 b/mdoc.7
index 119c4401..cf445be5 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1930,11 +1930,9 @@ Examples:
.Dl \&.An Kristaps Dzonsons \&Aq \&Mt kristaps@bsd.lv
.Ss \&Nd
A one line description of the manual's content.
-This may only be invoked in the
-.Em SYNOPSIS
-section subsequent the
-.Sx \&Nm
-macro.
+This is the mandatory last macro of the
+.Em NAME
+section and not appropriate for other sections.
.Pp
Examples:
.Dl Pf . Sx \&Nd mdoc language reference