summaryrefslogtreecommitdiff
path: root/usr.bin/doas/doas.conf.5
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-05 10:58:08 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-05 10:58:08 +0000
commite99c4ba50a0b6627f2598c9fe749de011935b925 (patch)
tree8a2a46df9c29bb2cc930664141ce7de55f9f9720 /usr.bin/doas/doas.conf.5
parentc69ed5bc1f552b1d358ff0004112dc2570bbe88d (diff)
Be more explicit about the "args" syntax.
In part from a patch from Anton dot Lindqvist at gmail dot com. OK tedu@
Diffstat (limited to 'usr.bin/doas/doas.conf.5')
-rw-r--r--usr.bin/doas/doas.conf.58
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/doas/doas.conf.5 b/usr.bin/doas/doas.conf.5
index 317ee0028c4..236b9a3edd5 100644
--- a/usr.bin/doas/doas.conf.5
+++ b/usr.bin/doas/doas.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doas.conf.5,v 1.30 2016/09/02 18:12:30 tedu Exp $
+.\" $OpenBSD: doas.conf.5,v 1.31 2016/12/05 10:58:07 schwarze Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\"
@@ -13,7 +13,7 @@
.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: September 2 2016 $
+.Dd $Mdocdate: December 5 2016 $
.Dt DOAS.CONF 5
.Os
.Sh NAME
@@ -35,7 +35,7 @@ The rules have the following format:
.Op Ar options
.Ar identity
.Op Ic as Ar target
-.Op Ic cmd Ar command Op Ic args ...
+.Op Ic cmd Ar command Op Ic args No ...
.Ed
.Pp
Rules consist of the following parts:
@@ -90,7 +90,7 @@ Be advised that it is best to specify absolute paths.
If a relative path is specified, only a restricted
.Ev PATH
will be searched.
-.It Ic args ...
+.It Ic args Op Ar argument ...
Arguments to command.
The command arguments provided by the user need to match those specified.
The keyword