aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.template
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-08-28 22:08:38 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-08-28 22:08:38 +0000
commitc3c263a3232c17ae4565561badb1f5cc88aa648e (patch)
tree7ed04e0315457908c42b5882b977042088d3c71f /mdoc.template
parent4482840eccb9facf57a7a0f8e7d4f447563804dd (diff)
downloadmandoc-c3c263a3232c17ae4565561badb1f5cc88aa648e.tar.gz
mandoc-c3c263a3232c17ae4565561badb1f5cc88aa648e.tar.zst
mandoc-c3c263a3232c17ae4565561badb1f5cc88aa648e.zip
Move mdoc/man template "The next is for" into the section itself. Added
OpenBSD compatibility notes. Based on a patch by Jason McIntyre.
Diffstat (limited to 'mdoc.template')
-rw-r--r--mdoc.template14
1 files changed, 8 insertions, 6 deletions
diff --git a/mdoc.template b/mdoc.template
index 034304a4..ba39fcce 100644
--- a/mdoc.template
+++ b/mdoc.template
@@ -13,23 +13,24 @@
.Sh NAME
.Nm name
.Nd short description
-.\" The next is for sections 2, 3, & 9 only.
.\" .Sh LIBRARY
+.\" For sections 2, 3, & 9 only.
+.\" Not used in OpenBSD.
.Sh SYNOPSIS
.Sh DESCRIPTION
.\" .Sh IMPLEMENTATION NOTES
-.\" The next is for sections 2, 3, & 9 only.
.\" .Sh RETURN VALUES
-.\" The next is for sections 1, 6, 7 & 8 only.
+.\" For sections 2, 3, & 9 only.
.\" .Sh ENVIRONMENT
+.\" For sections 1, 6, 7 & 8 only.
.\" .Sh FILES
-.\" The next is for sections 1 & 8 only.
.\" .Sh EXIT STATUS
+.\" For sections 1 & 8 only.
.\" .Sh EXAMPLES
-.\" The next is for sections 1, 4, 6, 7, & 8 only
.\" .Sh DIAGNOSTICS
-.\" The next is for sections 2, 3, & 9 only.
+.\" For sections 1, 4, 6, 7, & 8 only
.\" .Sh ERRORS
+.\" For sections 2, 3, & 9 only.
.\" .Sh SEE ALSO
.\" .Xr foobar 1
.\" .Sh STANDARDS
@@ -38,3 +39,4 @@
.\" .Sh CAVEATS
.\" .Sh BUGS
.\" .Sh SECURITY CONSIDERATIONS
+.\" Not used in OpenBSD.