diff options
author | 2014-08-25 07:35:37 +0000 | |
---|---|---|
committer | 2014-08-25 07:35:37 +0000 | |
commit | be86f18907dcc6e694ebc636fca1d5f2ec4b44c0 (patch) | |
tree | 3c248f3a4f1eef1bf95e2de43c6e034a2bf8ba3c | |
parent | Put _rc_err argument under quotes to respect the syntax we are passing. (diff) | |
download | wireguard-openbsd-be86f18907dcc6e694ebc636fca1d5f2ec4b44c0.tar.xz wireguard-openbsd-be86f18907dcc6e694ebc636fca1d5f2ec4b44c0.zip |
Display usage on 2 lines.
reworked from an original diff by schwarze@
-rw-r--r-- | usr.sbin/rcctl/rcctl.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rcctl/rcctl.sh b/usr.sbin/rcctl/rcctl.sh index a4b991a0652..cb7fa4fa86c 100644 --- a/usr.sbin/rcctl/rcctl.sh +++ b/usr.sbin/rcctl/rcctl.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: rcctl.sh,v 1.20 2014/08/24 19:44:02 schwarze Exp $ +# $OpenBSD: rcctl.sh,v 1.21 2014/08/25 07:35:37 ajacoutot Exp $ # # Copyright (c) 2014 Antoine Jacoutot <ajacoutot@openbsd.org> # @@ -26,7 +26,8 @@ _rc_parse_conf usage() { - _rc_err "usage: ${0##*/} [-df] enable|disable|status|action [service | daemon [flags [...]]]" + _rc_err "usage: ${0##*/} [-df] enable|disable|status|action + [service | daemon [flags [arguments]]]" } needs_root() |