summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rcctl
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2016-03-27 13:06:00 +0000
committerajacoutot <ajacoutot@openbsd.org>2016-03-27 13:06:00 +0000
commitb47a5440833c500007cdb0502e9440687014409f (patch)
tree56a3b2a0950f5438adfed0703ccb41fcdc190472 /usr.sbin/rcctl
parentAlways sleep at same priority. (diff)
downloadwireguard-openbsd-b47a5440833c500007cdb0502e9440687014409f.tar.xz
wireguard-openbsd-b47a5440833c500007cdb0502e9440687014409f.zip
Make usage() a bit more user friendly wrt "action" and "lsarg".
prodded by espie@
Diffstat (limited to 'usr.sbin/rcctl')
-rw-r--r--usr.sbin/rcctl/rcctl.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh
index 08fceaeda65..ecd22c0b94e 100644
--- a/usr.sbin/rcctl/rcctl.sh
+++ b/usr.sbin/rcctl/rcctl.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: rcctl.sh,v 1.88 2016/01/24 08:51:50 ajacoutot Exp $
+# $OpenBSD: rcctl.sh,v 1.89 2016/03/27 13:06:00 ajacoutot Exp $
#
# Copyright (c) 2014, 2015 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -29,9 +29,9 @@ usage()
{
_rc_err \
"usage: rcctl get|getdef|set service | daemon [variable [arguments]]
- rcctl [-df] action daemon ...
+ rcctl [-df] start|stop|restart|reload|check daemon ...
rcctl disable|enable|order [daemon ...]
- rcctl ls lsarg"
+ rcctl ls all|faulty|off|on|started|stopped"
}
needs_root()