diff options
author | Simon McVittie <smcv@collabora.com> | 2021-01-12 13:14:08 +0000 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-01-14 09:33:24 +0100 |
commit | 4108e022452303093d8b90c838695a0476cb09c7 (patch) | |
tree | 33d2e2203d87290c104b54d85e34f87c58756a47 /doc/flatpak-metadata.xml | |
parent | b0aea9c0533f8338ead9acb8dd2a65e6339b9a99 (diff) | |
download | flatpak-4108e022452303093d8b90c838695a0476cb09c7.tar.gz |
context: Add --unset-env option and a corresponding override
This follows up from GHSA-4ppf-fxf6-vxg2 to fix missing functionality
that I noticed while resolving that vulnerability, but is not required
for fixing the vulnerability.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'doc/flatpak-metadata.xml')
-rw-r--r-- | doc/flatpak-metadata.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/flatpak-metadata.xml b/doc/flatpak-metadata.xml index 0325689f..e8d6b558 100644 --- a/doc/flatpak-metadata.xml +++ b/doc/flatpak-metadata.xml @@ -483,6 +483,15 @@ are not allowed. </para></listitem> </varlistentry> + <varlistentry> + <term><option>unset-environment</option> (list)</term> + <listitem><para> + A list of names of environment variables to unset. + Note that environment variables to set to a value + (possibly empty) appear in the [Environment] + group instead. + </para></listitem> + </varlistentry> </variablelist> </refsect2> <refsect2> @@ -707,6 +716,12 @@ where <option>VAR</option> is the name of an environment variable to set. </para> + <para> + Note that environment variables can also be unset (removed + from the environment) by listing them in the + <option>unset-environment</option> entry of the + [Context] group. + </para> </refsect2> <refsect2> <title>[Extension NAME]</title> |