aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitf219a129fd68f9a8fd81fca8b18ef3fb534854a0 (patch)
tree8ab19745b42717079a9ed97cff0fc84d08247a1d /mdoc.7
parent71840fc752bb2b731194aa9d32165cd967d262b2 (diff)
downloadmandoc-f219a129fd68f9a8fd81fca8b18ef3fb534854a0.tar.gz
mandoc-f219a129fd68f9a8fd81fca8b18ef3fb534854a0.tar.zst
mandoc-f219a129fd68f9a8fd81fca8b18ef3fb534854a0.zip
improve NAME section diagnostics;
confusing messages reported by Jan Stary <hans at stare dot cz>
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.712
1 files changed, 5 insertions, 7 deletions
diff --git a/mdoc.7 b/mdoc.7
index df25d8cb..d4c8ccd1 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.251 2015/02/15 17:57:45 schwarze Exp $
+.\" $Id: mdoc.7,v 1.252 2015/02/23 13:31:04 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013 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: February 15 2015 $
+.Dd $Mdocdate: February 23 2015 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -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