summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 16:24:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 16:24:37 +0000
commit2f01ab1363bf6ab718b3fb6370fc6735e3e8bc02 (patch)
treec8023c62b35846d97b0c170d0fc13e02159140a7 /mdoc.7
parent6e9d908aceac4cb4aaf9a8d2bdeab9efea064b7b (diff)
downloadmandoc-2f01ab1363bf6ab718b3fb6370fc6735e3e8bc02.tar.gz
LIBRARY can also occur in section 9.
All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.74
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.7 b/mdoc.7
index 70fccf82..e833e6b3 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -347,7 +347,7 @@ file:
\&.Sh NAME
\&.Nm foo
\&.Nd a description goes here
-\&.\e\*q The next is for sections 2 & 3 only.
+\&.\e\*q The next is for sections 2, 3, & 9 only.
\&.\e\*q .Sh LIBRARY
\&.
\&.Sh SYNOPSIS
@@ -409,7 +409,7 @@ and
.Sx \&Nd .
.It Em LIBRARY
The name of the library containing the documented material, which is
-assumed to be a function in a section 2 or 3 manual.
+assumed to be a function in a section 2, 3, or 9 manual.
The syntax for this is as follows:
.Bd -literal -offset indent
\&.Lb libarm