From f219a129fd68f9a8fd81fca8b18ef3fb534854a0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 23 Feb 2015 13:31:03 +0000 Subject: improve NAME section diagnostics; confusing messages reported by Jan Stary --- mdoc.7 | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'mdoc.7') 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 .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze @@ -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 -- cgit v1.2.3