-.\" $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>
.\"
.\"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
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 -