mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
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.
This commit is contained in:
parent
67f5b9e06e
commit
339bf2076b
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user