summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-31 16:27:07 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-31 17:57:41 +0900
commit4156e767f68016b45f7927e818e0514628afd43f (patch)
tree2c3bd834ca9afac64df3f53f04d10cb0978fbbac /man
parentdf4fd2c757a833885c5130136d78db96198bc8b3 (diff)
downloadsystemd-4156e767f68016b45f7927e818e0514628afd43f.tar.gz
systemd-4156e767f68016b45f7927e818e0514628afd43f.tar.bz2
systemd-4156e767f68016b45f7927e818e0514628afd43f.zip
locale: assume locale is for LANG= when variable name is not specified
Closes #6070.
Diffstat (limited to 'man')
-rw-r--r--man/localectl.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/man/localectl.xml b/man/localectl.xml
index 0a763f2524..b32c0fb4d6 100644
--- a/man/localectl.xml
+++ b/man/localectl.xml
@@ -121,11 +121,12 @@
</varlistentry>
<varlistentry>
- <term><command>set-locale LOCALE…</command></term>
+ <term><command>set-locale LOCALE</command></term>
+ <term><command>set-locale VARIABLE=LOCALE…</command></term>
- <listitem><para>Set the system locale. This takes one or more
- assignments such as "LANG=de_DE.utf8",
- "LC_MESSAGES=en_GB.utf8", and so on. See
+ <listitem><para>Set the system locale. This takes one locale such as <literal>en_US.UTF-8</literal>, or takes one or more
+ locale assignments such as <literal>LANG=de_DE.utf8</literal>, <literal>LC_MESSAGES=en_GB.utf8</literal>, and so on. If
+ one locale without variable name is provided, then <literal>LANG=</literal> locale variable will be set. See
<citerefentry project='man-pages'><refentrytitle>locale</refentrytitle><manvolnum>7</manvolnum></citerefentry>
for details on the available settings and their meanings. Use
<command>list-locales</command> for a list of available