From e1705017f36f9b6ace72ca94ca546e984e919b18 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 20 Aug 2009 13:22:48 +0000 Subject: Updated manual structure in mdoc.7. Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.). --- mdoc.template | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'mdoc.template') diff --git a/mdoc.template b/mdoc.template index 6d2beb0d..9dcf5893 100644 --- a/mdoc.template +++ b/mdoc.template @@ -2,36 +2,36 @@ .\" .\" Copyright notice goes here. .\" -.\" The uncommented requests are required for all man pages. +.\" The uncommented requests are required for all manual pages. .\" The commented requests should be uncommented and used where appropriate. .\" .\" See mdoc(7) for further reference. .\" .Dd $\&Mdocdate$ -.Dt
+.Dt title section .Os +. .Sh NAME -.Nm -.Nd -.\" The next request should be used for sections 2 and 3 only. +.Nm name +.Nd short description +.\" The next is for sections 2 & 3 only. .\" .Sh LIBRARY .Sh SYNOPSIS .Sh DESCRIPTION -.\" This next request is for sections 1 and 8 exit statuses only. +.\" The next is for sections 1 & 8 only. .\" .Sh EXIT STATUS -.\" This next request is for sections 2 and 3 function return values only. +.\" The next is for sections 2, 3, & 9 only. .\" .Sh RETURN VALUES -.\" This next request is for sections 1, 6, 7 & 8 only. +.\" The next is for sections 1, 6, 7 & 8 only. .\" .Sh ENVIRONMENT .\" .Sh FILES .\" .Sh EXAMPLES -.\" This next request is for sections 1, 6, 7 & 8 only +.\" The next is for sections 1, 4, 6, 7, & 8 only .\" .Sh DIAGNOSTICS -.\" The next request is for sections 2 and 3 error and signal handling only. +.\" The next is for sections 2, 3, & 9 only. .\" .Sh ERRORS .\" .Sh SEE ALSO -.\" Cross-references should be ordered by section (low to high), then in -.\" alphabetical order. +.\" .Xr foobar 1 .\" .Sh STANDARDS .\" .Sh HISTORY .\" .Sh AUTHORS -- cgit v1.2.3-56-ge451