diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-12-16 19:26:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 19:26:40 +0100 |
commit | e4dde4e87d8dafda44f207a3f7c56fd679c11c7d (patch) | |
tree | 7c6871aeb10eff8820840f1495879dc2b332401a /man | |
parent | a8af734e75431d676b25afb49ac317036e6825e6 (diff) | |
parent | dcdd9030ba10c485fd65e5f7a993b51ea0757407 (diff) | |
download | systemd-e4dde4e87d8dafda44f207a3f7c56fd679c11c7d.tar.gz |
Merge pull request #17702 from rnhmjoj/master
Extend $SYSTEMD_COLORS to switch colors mode
Diffstat (limited to 'man')
-rw-r--r-- | man/less-variables.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/man/less-variables.xml b/man/less-variables.xml index 3b32673f39..3d8e200e44 100644 --- a/man/less-variables.xml +++ b/man/less-variables.xml @@ -94,10 +94,11 @@ <varlistentry id='colors'> <term><varname>$SYSTEMD_COLORS</varname></term> - <listitem><para>The value must be a boolean. Controls whether colorized output should be - generated. This can be specified to override the decision that <command>systemd</command> makes based - on <varname>$TERM</varname> and what the console is connected to.</para> - </listitem> + <listitem><para>Takes a boolean argument. When true, <command>systemd</command> and related utilities + will use colors in their output, otherwise the output will be monochrome. Additionally, the variable can + take one of the following special values: <literal>16</literal>, <literal>256</literal> to restrict the use + of colors to the base 16 or 256 ANSI colors, respectively. This can be specified to override the automatic + decision based on <varname>$TERM</varname> and what the console is connected to.</para></listitem> </varlistentry> <!-- This is not documented on purpose, because it is not clear if $NO_COLOR will become supported |