From: kn Date: Wed, 3 May 2023 14:29:57 +0000 (+0000) Subject: Improve setenv markup X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f524811915c409a3499f63d842f89fdcc71c6902;p=openbsd Improve setenv markup - braces are not commands, use 'Brq' - markup variable and value each, leave = (like mdoc(7) 'Ns' example) --- diff --git a/usr.bin/doas/doas.conf.5 b/usr.bin/doas/doas.conf.5 index e98bfbe7026..c547366ab0b 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.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 .\" @@ -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 -