version 1.25, 2017/03/22 13:31:49 |
version 1.28, 2017/03/27 18:51:36 |
|
|
.Nm man |
.Nm man |
.Op Fl acfhklw |
.Op Fl acfhklw |
.Op Fl C Ar file |
.Op Fl C Ar file |
.Op Fl I Cm os Ns = Ns Ar name |
|
.Op Fl K Ar encoding |
|
.Op Fl M Ar path |
.Op Fl M Ar path |
.Op Fl m Ar path |
.Op Fl m Ar path |
.Op Fl O Ar option Ns = Ns Ar value |
|
.Op Fl S Ar subsection |
.Op Fl S Ar subsection |
.Op Fl s Ar section |
.Op Oo Fl s Oc Ar section |
.Op Fl T Ar output |
|
.Op Fl W Ar level |
|
.Op Ar section |
|
.Ar name ... |
.Ar name ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
|
|
.Ar name |
.Ar name |
in manual page names and displays the header lines from all matching pages. |
in manual page names and displays the header lines from all matching pages. |
The search is case insensitive and matches whole words only. |
The search is case insensitive and matches whole words only. |
This overrides any earlier |
|
.Fl k |
|
and |
|
.Fl l |
|
options. |
|
.It Fl h |
.It Fl h |
Display only the SYNOPSIS lines of the requested manual pages. |
Display only the SYNOPSIS lines of the requested manual pages. |
Implies |
Implies |
.Fl a |
.Fl a |
and |
and |
.Fl c . |
.Fl c . |
.It Fl I Cm os Ns = Ns Ar name |
|
Override the default operating system |
|
.Ar name |
|
for the |
|
.Xr mdoc 7 |
|
.Ic \&Os |
|
and for the |
|
.Xr man 7 |
|
.Ic \&TH |
|
macro. |
|
.It Fl K Ar encoding |
|
Specify the input encoding. |
|
The supported |
|
.Ar encoding |
|
arguments are |
|
.Cm us-ascii , |
|
.Cm iso-8859-1 , |
|
and |
|
.Cm utf-8 . |
|
By default, the encoding is automatically detected as described in the |
|
.Xr mandoc 1 |
|
manual. |
|
.It Fl k |
.It Fl k |
A synonym for |
A synonym for |
.Xr apropos 1 . |
.Xr apropos 1 . |
Line 133 an expression can be provided using the syntax describ |
|
Line 100 an expression can be provided using the syntax describ |
|
.Xr apropos 1 |
.Xr apropos 1 |
manual. |
manual. |
By default, it displays the header lines of all matching pages. |
By default, it displays the header lines of all matching pages. |
This overrides any earlier |
|
.Fl f |
|
and |
|
.Fl l |
|
options. |
|
.It Fl l |
.It Fl l |
A synonym for |
A synonym for |
.Xr mandoc 1 |
.Xr mandoc 1 |
Line 149 No search is done and |
|
Line 111 No search is done and |
|
.Ar file , |
.Ar file , |
.Ar path , |
.Ar path , |
.Ar section , |
.Ar section , |
|
.Ar subsection , |
and |
and |
.Ar subsection |
|
are ignored. |
|
This overrides any earlier |
|
.Fl f , |
|
.Fl k , |
|
and |
|
.Fl w |
.Fl w |
options. |
are ignored. |
.It Fl M Ar path |
.It Fl M Ar path |
Override the list of standard directories which |
Override the list of standard directories which |
.Nm |
.Nm |
Line 184 the directories specified using the |
|
Line 141 the directories specified using the |
|
option or the |
option or the |
.Ev MANPATH |
.Ev MANPATH |
environment variable. |
environment variable. |
.It Fl O Ar option Ns = Ns Ar value |
|
Comma-separated output options. |
|
For each output format, the available options are described in the |
|
.Xr mandoc 1 |
|
manual. |
|
.It Fl S Ar subsection |
.It Fl S Ar subsection |
Only show pages for the specified |
Only show pages for the specified |
.Xr machine 1 |
.Xr machine 1 |
Line 236 Kernel internals. |
|
Line 188 Kernel internals. |
|
If not specified and a match is found in more than one section, |
If not specified and a match is found in more than one section, |
the first match is selected from the following list: |
the first match is selected from the following list: |
1, 8, 6, 2, 3, 5, 7, 4, 9, 3p. |
1, 8, 6, 2, 3, 5, 7, 4, 9, 3p. |
.It Fl T Ar output |
|
Select the output format. |
|
The default is |
|
.Cm locale . |
|
The other output modes |
|
.Cm ascii , |
|
.Cm html , |
|
.Cm lint , |
|
.Cm man , |
|
.Cm pdf , |
|
.Cm ps , |
|
.Cm tree , |
|
and |
|
.Cm utf8 |
|
are described in the |
|
.Xr mandoc 1 |
|
manual. |
|
.It Fl W Ar level |
|
Specify the minimum message |
|
.Ar level |
|
to be reported on the standard error output and to affect the exit status. |
|
The |
|
.Ar level |
|
can be |
|
.Cm warning , |
|
.Cm error , |
|
or |
|
.Cm unsupp ; |
|
.Cm all |
|
is an alias for |
|
.Cm warning . |
|
By default, |
|
.Nm |
|
is silent. |
|
See the |
|
.Xr mandoc 1 |
|
manual for details. |
|
.It Fl w |
.It Fl w |
List the pathnames of all matching manual pages instead of displaying |
List the pathnames of all matching manual pages instead of displaying |
any of them. |
any of them. |
.El |
.El |
|
.Pp |
|
The options |
|
.Fl IKOTW |
|
are also supported and are documented in |
|
.Xr mandoc 1 . |
|
The options |
|
.Fl fkl |
|
are mutually exclusive and override each other. |
.Pp |
.Pp |
Guidelines for writing |
Guidelines for writing |
man pages can be found in |
man pages can be found in |