version 1.194, 2017/06/06 15:01:04 |
version 1.195, 2017/06/07 23:29:48 |
|
|
.Xr man 7 |
.Xr man 7 |
.Ic \&TH |
.Ic \&TH |
macro. |
macro. |
|
This can also be used to perform style checks according to the |
|
conventions of one operating system while running on a different |
|
operating system; see |
|
.Sx Style messages |
|
for details. |
.It Fl K Ar encoding |
.It Fl K Ar encoding |
Specify the input encoding. |
Specify the input encoding. |
The supported |
The supported |
|
|
.Fl T Cm lint |
.Fl T Cm lint |
output mode. |
output mode. |
.Ss Style messages |
.Ss Style messages |
|
As indicated below, some style checks are only performed if a |
|
specific operating system name occurs in the arguments of the |
|
.Ic \&Os |
|
macro, of the |
|
.Fl Ios |
|
command line option, or, if neither are present, in the return value |
|
of the |
|
.Xr uname 3 |
|
function. |
.Bl -ohang |
.Bl -ohang |
.It Sy "useless macro" |
.It Sy "useless macro" |
.Pq mdoc |
.Pq mdoc |
Line 763 macro that could be represented using |
|
Line 777 macro that could be represented using |
|
.Ic \&Fx , |
.Ic \&Fx , |
or |
or |
.Ic \&Dx . |
.Ic \&Dx . |
|
.It Sy "errnos out of order" |
|
.Pq mdoc, Nx |
|
The |
|
.Ic \&Er |
|
items in a |
|
.Ic \&Bl |
|
list are not in alphabetical order. |
|
.It Sy "duplicate errno" |
|
.Pq mdoc, Nx |
|
A |
|
.Ic \&Bl |
|
list contains two consecutive |
|
.Ic \&It |
|
entries describing the same |
|
.Ic \&Er |
|
number. |
.It Sy "description line ends with a full stop" |
.It Sy "description line ends with a full stop" |
.Pq mdoc |
.Pq mdoc |
Do not use punctuation at the end of an |
Do not use punctuation at the end of an |