Commit: 6b90803910cfd9fdfcd323c4c3260764612498aa
Parent: 9b0dc13940e19acbeb6f732f300fa8688745dc1a
Author: kn
Date: Wed, 3 May 2023 14:29:57 +0000
Improve setenv markup
- braces are not commands, use 'Brq'
- markup variable and value each, leave = (like mdoc(7) 'Ns' example)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doas.conf.5 b/doas.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doas.conf.5,v 1.45 2020/10/09 10:24:33 jmc Exp $
+.\" $OpenBSD: doas.conf.5,v 1.46 2023/05/03 14:29:57 kn 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: October 9 2020 $
+.Dd $Mdocdate: May 3 2023 $
.Dt DOAS.CONF 5
.Os
.Sh NAME
@@ -55,7 +55,7 @@ again for some time.
Environment variables other than those listed in
.Xr doas 1
are retained when creating the environment for the new process.
-.It Ic setenv { Oo Ar variable ... Oc Oo Ar variable=value ... Oc Ic }
+.It Ic setenv Brq Oo Ar variable ... Oc Oo Ar variable Ns = Ns Ar value ... Oc
Keep or set the space-separated specified variables.
Variables may also be removed with a leading
.Sq -