xref: /openbsd-src/share/misc/mdoc.template (revision 4c1e55dc91edd6e69ccc60ce855900fbc12cf34f)
1.\"	$OpenBSD: mdoc.template,v 1.12 2010/09/04 08:00:15 jmc Exp $
2.\"
3.\" The following requests are required for all man pages.
4.\"
5.\" Remove `\&' from the line below.
6.Dd $\&Mdocdate$
7.Dt NAME SECTION#
8.Os
9.Sh NAME
10.Nm program
11.Nd one line about what it does
12.Sh SYNOPSIS
13.\" For a program:  program [-abc] file ...
14.Nm program
15.Op Fl abc
16.Ar
17.Sh DESCRIPTION
18The
19.Nm
20utility processes files ...
21.\" The following requests should be uncommented and used where appropriate.
22.\" .Sh RETURN VALUES
23.\" For sections 2, 3, and 9 function return values only.
24.\" .Sh ENVIRONMENT
25.\" For sections 1, 6, 7 & 8 only.
26.\" .Sh FILES
27.\" .Sh EXIT STATUS
28.\" For sections 1, 6, & 8 only.
29.\" .Sh EXAMPLES
30.\" .Sh DIAGNOSTICS
31.\" For sections 1, 4, 6, 7, and 8 only.
32.\" .Sh ERRORS
33.\" For sections 2, 3, and 9 error and signal handling only.
34.\" .Sh SEE ALSO
35.\" .Xr foobar 1
36.\" .Sh STANDARDS
37.\" .Sh HISTORY
38.\" .Sh AUTHORS
39.\" .Sh CAVEATS
40.\" .Sh BUGS
41