From 5a394c59643acf713ca82cf5e69bd5a6888b2243 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 27 Aug 2013 22:38:19 +0200 Subject: [PATCH] fix mandoc(1) warnings in usr.sbin/ --- usr.sbin/apmd/apmd.8 | 9 +++------ usr.sbin/dntpd/dntpd.8 | 2 +- usr.sbin/newsyslog/newsyslog.conf.5 | 8 ++------ usr.sbin/pfctl/pfctl.8 | 4 ++-- usr.sbin/setkey/setkey.8 | 20 ++++++++++---------- usr.sbin/traceroute6/traceroute6.8 | 6 ++---- usr.sbin/vnconfig/vnconfig.8 | 3 +-- usr.sbin/zic/zic.8 | 10 +++++----- 8 files changed, 26 insertions(+), 36 deletions(-) diff --git a/usr.sbin/apmd/apmd.8 b/usr.sbin/apmd/apmd.8 index 2d2efcede8..a99662eab0 100644 --- a/usr.sbin/apmd/apmd.8 +++ b/usr.sbin/apmd/apmd.8 @@ -63,7 +63,7 @@ built-in functions in the configuration file. The .Nm utility recognizes the following runtime options: -.Bl -tag -width -f_file +.Bl -tag -width ".Fl f Ar file" .It Fl d Starts in debug mode. This causes .Nm @@ -229,14 +229,11 @@ built-in functions instead of command lines. A built-in function name should be terminated with a semicolon, just as with a command line. The following built-in functions are currently supported: -.Bl -item -.It -- reject: -.Bd -ragged -offset indent +.Bl -tag -width "- reject:" +.It - reject: Reject last request posted by APM BIOS. This can be used to reject a SUSPEND request when the LCD is closed and put the system in a STANDBY state instead. -.Ed .El .Ed .El diff --git a/usr.sbin/dntpd/dntpd.8 b/usr.sbin/dntpd/dntpd.8 index 7f68312202..06c8400df0 100644 --- a/usr.sbin/dntpd/dntpd.8 +++ b/usr.sbin/dntpd/dntpd.8 @@ -317,7 +317,7 @@ will periodically re-resolve failed DNS queries and failed servers and may be enabled at boot time even if the network is not yet operational. .Sh FILES -.Bl -tag -compact +.Bl -tag -compact -width ".Pa /var/run/dntpd.pid" .It Pa /var/run/dntpd.pid When started as a daemon, .Nm diff --git a/usr.sbin/newsyslog/newsyslog.conf.5 b/usr.sbin/newsyslog/newsyslog.conf.5 index 187ff5dd8d..25ec2c69a0 100644 --- a/usr.sbin/newsyslog/newsyslog.conf.5 +++ b/usr.sbin/newsyslog/newsyslog.conf.5 @@ -155,12 +155,8 @@ The particular format of the time in restricted .Tn ISO 8601 is: .Sm off -.Oo -.Op Oo Oo Oo Va cc Oc Va yy Oc Va mm Oc Va dd -.Oo -.Li T -.Op Va hh Oo Va mm Oo Va ss Oc Oc Oc -.Oc . +.Oo Oo Oo Oo Oo Va cc Oc Va yy Oc Va mm Oc Va dd Oc +.Oo Li T Oo Va hh Oo Va mm Oo Va ss Oc Oc Oc Oc Oc . .Sm on Optional date fields default to the appropriate component of the current date; optional time fields default to midnight; hence if today diff --git a/usr.sbin/pfctl/pfctl.8 b/usr.sbin/pfctl/pfctl.8 index a93778bf77..ca3479fe2a 100644 --- a/usr.sbin/pfctl/pfctl.8 +++ b/usr.sbin/pfctl/pfctl.8 @@ -51,8 +51,8 @@ .Xo .Oo Fl t Ar table .Fl T Ar command -.Op Ar address ... Oc -.Xc +.Op Ar address ... +.Oc Xc .Op Fl x Ar level .Ek .Sh DESCRIPTION diff --git a/usr.sbin/setkey/setkey.8 b/usr.sbin/setkey/setkey.8 index 54bca3a672..589b277c0b 100644 --- a/usr.sbin/setkey/setkey.8 +++ b/usr.sbin/setkey/setkey.8 @@ -122,68 +122,68 @@ hashmarks ('#') are treated as comment lines. .Ar src Ar dst Ar protocol Ar spi .Op Ar extensions .Ar algorithm... -.Li ; +.Li \&; .Xc Add an SAD entry. .\" .It Xo .Li get .Ar src Ar dst Ar protocol Ar spi -.Li ; +.Li \&; .Xc Show an SAD entry. .\" .It Xo .Li delete .Ar src Ar dst Ar protocol Ar spi -.Li ; +.Li \&; .Xc Remove an SAD entry. .\" .It Xo .Li deleteall .Ar src Ar dst Ar protocol -.Li ; +.Li \&; .Xc Remove all SAD entries that match the specification. .\" .It Xo .Li flush .Op Ar protocol -.Li ; +.Li \&; .Xc Clear all SAD entries matched by the options. .\" .It Xo .Li dump .Op Ar protocol -.Li ; +.Li \&; .Xc Dumps all SAD entries matched by the options. .\" .It Xo .Li spdadd .Ar src_range Ar dst_range Ar upperspec Ar policy -.Li ; +.Li \&; .Xc Add an SPD entry. .\" .It Xo .Li spddelete .Ar src_range Ar dst_range Ar upperspec Fl P Ar direction -.Li ; +.Li \&; .Xc Delete an SPD entry. .\" .It Xo .Li spdflush -.Li ; +.Li \&; .Xc Clear all SPD entries. .\" .It Xo .Li spddump -.Li ; +.Li \&; .Xc Dumps all SPD entries. .El diff --git a/usr.sbin/traceroute6/traceroute6.8 b/usr.sbin/traceroute6/traceroute6.8 index 4e7bd7ef07..c210fe042e 100644 --- a/usr.sbin/traceroute6/traceroute6.8 +++ b/usr.sbin/traceroute6/traceroute6.8 @@ -163,10 +163,8 @@ This was more interesting in the IPv4 case, where some IP stack bugs could be identified by this behaviour. .El .\" -.Sh RETURN VALUES -The -.Nm -utility will exit with 0 on success, and non-zero on errors. +.Sh EXIT STATUS +.Ex -std .\" .Sh SEE ALSO .Xr ping 8 , diff --git a/usr.sbin/vnconfig/vnconfig.8 b/usr.sbin/vnconfig/vnconfig.8 index db4da89a2f..5990c0d6bd 100644 --- a/usr.sbin/vnconfig/vnconfig.8 +++ b/usr.sbin/vnconfig/vnconfig.8 @@ -169,8 +169,7 @@ option. .It Fl S Xo .Sm off .Ar value -.Es \&{ \&} -.En Cm k , m , g , t +.Brq Cm k , m , g , t .Sm on .Xc If no regular file is specified, diff --git a/usr.sbin/zic/zic.8 b/usr.sbin/zic/zic.8 index dbb0fbf466..27cb3dfc31 100644 --- a/usr.sbin/zic/zic.8 +++ b/usr.sbin/zic/zic.8 @@ -370,6 +370,11 @@ or .Dq Rolling if the leap second time given by the other fields should be interpreted as local wall clock time. +.Sh FILES +.Bl -tag -width ".Pa /usr/share/zoneinfo" -compact +.It Pa /usr/share/zoneinfo +standard directory used for created files +.El .Sh EXAMPLES Here is an extended example of .Nm @@ -449,11 +454,6 @@ produces a single transition to daylight saving at the new UTC offset To get separate transitions use multiple zone continuation lines specifying transition instants using universal time. -.Sh FILES -.Bl -tag -width ".Pa /usr/share/zoneinfo" -compact -.It Pa /usr/share/zoneinfo -standard directory used for created files -.El .Sh SEE ALSO .Xr ctime 3 , .Xr tzfile 5 , -- 2.41.0