diff options
author | schwarze <schwarze@openbsd.org> | 2015-07-25 09:45:51 +0000 |
---|---|---|
committer | schwarze <schwarze@openbsd.org> | 2015-07-25 09:45:51 +0000 |
commit | 420d5729c875ff22867c6a1c9b537053fd7e5722 (patch) | |
tree | b5b339cc67cc3e49645e1fe58b463f23e106d5d9 /usr.sbin/rcctl | |
parent | Fix usage() output. (diff) | |
download | wireguard-openbsd-420d5729c875ff22867c6a1c9b537053fd7e5722.tar.xz wireguard-openbsd-420d5729c875ff22867c6a1c9b537053fd7e5722.zip |
Use .Cm rather than .Ar for fixed strings passed as arguments (command
modifiers). Patch from Michael Reed <m dot reed at mykolab dot com>,
tweaked by jmc@.
Diffstat (limited to 'usr.sbin/rcctl')
-rw-r--r-- | usr.sbin/rcctl/rcctl.8 | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/usr.sbin/rcctl/rcctl.8 b/usr.sbin/rcctl/rcctl.8 index aea273b675f..6691ebca44c 100644 --- a/usr.sbin/rcctl/rcctl.8 +++ b/usr.sbin/rcctl/rcctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcctl.8,v 1.20 2015/07/15 05:51:08 jmc Exp $ +.\" $OpenBSD: rcctl.8,v 1.21 2015/07/25 09:45:51 schwarze Exp $ .\" .\" Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 15 2015 $ +.Dd $Mdocdate: July 25 2015 $ .Dt RCCTL 8 .Os .Sh NAME @@ -85,22 +85,21 @@ Like but returns the default values. .It Cm ls Ar lsarg Display a list of services and daemons matching -.Ar lsarg . -.Ar lsargs -can be one of: +.Ar lsarg , +which can be one of: .Pp .Bl -tag -width started -offset indent -compact -.It Ar all +.It Cm all all services and daemons -.It Ar faulty +.It Cm faulty enabled but stopped daemons -.It Ar off +.It Cm off disabled services and daemons -.It Ar on +.It Cm on enabled services and daemons -.It Ar started +.It Cm started running daemons -.It Ar stopped +.It Cm stopped stopped daemons .El .It Cm order Op Ar daemons @@ -162,7 +161,7 @@ exits with 0 if the daemon or service is enabled and 1 if it is not. .Nm Cm getdef Ar daemon | service Op Cm status exits with 0 if the daemon or service is enabled by default and 1 if it is not. -.Nm Cm ls Ar faulty +.Nm Cm ls faulty exits with 1 if an enabled daemon is not running. Otherwise, the .Nm |