summaryrefslogtreecommitdiff
path: root/man/systemd.xml
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2016-01-19 10:17:19 +0100
committerJan Synacek <jsynacek@redhat.com>2016-01-20 10:12:41 +0100
commit40c9fe4c0862114dab390c8ed16f78cf056b9140 (patch)
tree04bb1f55765a432bb0495963871eaf6dcd10faaf /man/systemd.xml
parentd619a0c4a5bf4f9d5796bcac77160a14e4e24cb6 (diff)
downloadsystemd-40c9fe4c0862114dab390c8ed16f78cf056b9140.tar.gz
basic/terminal-util: introduce SYSTEMD_COLORS environment variable
... to determine if color output should be enabled. If the variable is not set, fall back to using on_tty(). Also, rewrite existing code to use colors_enabled() where appropriate.
Diffstat (limited to 'man/systemd.xml')
-rw-r--r--man/systemd.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/systemd.xml b/man/systemd.xml
index b5570a4347..b8d91b8943 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -835,6 +835,13 @@
</varlistentry>
<varlistentry>
+ <term><varname>$SYSTEMD_COLORS</varname></term>
+
+ <listitem><para>Controls whether colorized output should be generated.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><varname>$LISTEN_PID</varname></term>
<term><varname>$LISTEN_FDS</varname></term>
<term><varname>$LISTEN_FDNAMES</varname></term>