summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-15 11:59:34 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-11-15 13:34:52 +0100
commit339bf2076b3294e5f7b59e84c59ba8c55ded3c25 (patch)
tree055a3fa476051189af055b7a9beaae8af9b694e7 /man
parentMerge pull request #14003 from keszybz/user-path-configurable (diff)
downloadsystemd-339bf2076b3294e5f7b59e84c59ba8c55ded3c25.tar.xz
systemd-339bf2076b3294e5f7b59e84c59ba8c55ded3c25.zip
man: share description of $SYSTEMD_COLORS in other tools
It was only described in systemd(1), making it hard to discover. Fixes #13561. The same for $SYSTEMD_URLIFY. I think all the tools whose man pages include less-variables.xml support those variables.
Diffstat (limited to 'man')
-rw-r--r--man/less-variables.xml20
-rw-r--r--man/systemd.xml19
2 files changed, 21 insertions, 18 deletions
diff --git a/man/less-variables.xml b/man/less-variables.xml
index 38cb18be2e..8a701277b6 100644
--- a/man/less-variables.xml
+++ b/man/less-variables.xml
@@ -64,5 +64,23 @@
the invoking terminal is determined to be UTF-8 compatible).</para></listitem>
</varlistentry>
- </variablelist>
+ <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>
+ </varlistentry>
+
+ <varlistentry id='urlify'>
+ <term><varname>$SYSTEMD_URLIFY</varname></term>
+
+ <listitem><para>The value must be a boolean. Controls whether clickable links should be generated in
+ the output for terminal emulators supporting this. This can be specified to override the decision that
+ <command>systemd</command> makes based on <varname>$TERM</varname> and other conditions.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
</refsect1>
diff --git a/man/systemd.xml b/man/systemd.xml
index 957d37dcd9..5caf54b330 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -870,23 +870,8 @@
script runlevel link farms.</para></listitem>
</varlistentry>
- <varlistentry>
- <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>
- </varlistentry>
-
- <varlistentry>
- <term><varname>$SYSTEMD_URLIFY</varname></term>
-
- <listitem><para>The value must be a boolean. Controls whether clickable links should be generated in the output
- for terminal emulators supporting this. This can be specified to override the decision that
- <command>systemd</command> makes based on <varname>$TERM</varname> and other conditions.</para>
- </listitem>
- </varlistentry>
+ <xi:include href="less-variables.xml" xpointer="colors" />
+ <xi:include href="less-variables.xml" xpointer="urlify" />
<varlistentry>
<term><varname>$LISTEN_PID</varname></term>