summaryrefslogtreecommitdiff
path: root/bwrap.xml
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-06-23 23:06:46 +0100
committerSimon McVittie <smcv@collabora.com>2021-06-23 23:06:46 +0100
commit12e1df73750490c0b3652e28ee146e23c8e6b452 (patch)
treef6e6fabb094dd1aed2c4d651cbdc0990f6e136e1 /bwrap.xml
parent14069395a38abcd6e94dedae04cced1079abf85b (diff)
downloadbubblewrap-12e1df73750490c0b3652e28ee146e23c8e6b452.tar.gz
Document --clearenv in man page
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'bwrap.xml')
-rw-r--r--bwrap.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/bwrap.xml b/bwrap.xml
index f56f6ef..94107ad 100644
--- a/bwrap.xml
+++ b/bwrap.xml
@@ -172,6 +172,12 @@
<term><option>--unsetenv <arg choice="plain">VAR</arg></option></term>
<listitem><para>Unset an environment variable</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--clearenv</option></term>
+ <listitem><para>Unset all environment variables, except for
+ <envar>PWD</envar> and any that are subsequently set by
+ <option>--setenv</option></para></listitem>
+ </varlistentry>
</variablelist>
<para>Options for monitoring the sandbox from the outside:</para>
<variablelist>