summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-08-10 17:19:31 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-08-11 09:34:45 +0200
commit4bbafcc359bf12f19f1ec232a2412195183d4ad5 (patch)
treee0b0d31c1b8f60f016301073a03bbaf3eec5cbd6 /man
parent0d2a017986565f23a624bdd8b7b06a267b0676ef (diff)
downloadsystemd-4bbafcc359bf12f19f1ec232a2412195183d4ad5.tar.gz
homectl: allow --setenv=FOO
Diffstat (limited to 'man')
-rw-r--r--man/homectl.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/man/homectl.xml b/man/homectl.xml
index 4b0b120ca8..245ebcee00 100644
--- a/man/homectl.xml
+++ b/man/homectl.xml
@@ -288,12 +288,16 @@
</varlistentry>
<varlistentry>
- <term><option>--setenv=</option><replaceable>VARIABLE</replaceable>=<replaceable>VALUE</replaceable></term>
+ <term><option>--setenv=</option><replaceable>VARIABLE</replaceable>[=<replaceable>VALUE</replaceable>]</term>
- <listitem><para>Takes an environment variable assignment to set for all user processes. Note that a
- number of other settings also result in environment variables to be set for the user, including
- <option>--email=</option>, <option>--timezone=</option> and <option>--language=</option>. May be used
- multiple times to set multiple environment variables.</para></listitem>
+ <listitem><para>Takes an environment variable assignment to set for all user processes. May be used
+ multiple times to set multiple environment variables. When <literal>=</literal> and
+ <replaceable>VALUE</replaceable> are omitted, the value of the variable with the same name in the
+ program environment will be used.</para>
+
+ <para>Note that a number of other settings also result in environment variables to be set for the
+ user, including <option>--email=</option>, <option>--timezone=</option> and
+ <option>--language=</option>.</para></listitem>
</varlistentry>
<varlistentry>