summaryrefslogtreecommitdiff
path: root/man/machinectl.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-02-12 03:30:10 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-12 01:10:31 -0500
commitf366d58dc1fe51b300167446597750d29687c3c5 (patch)
tree4dc0b0e4575dcf9ade9a0e2b9b1dd73c99bb3292 /man/machinectl.xml
parentdb999e0f923ca6c2c1b919d0f1c916472f209e62 (diff)
pager: support SYSTEMD_LESS environment variable
This allows customization of the arguments used by less. The main motivation is that some folks might not like having --no-init on every invocation of less.
Diffstat (limited to 'man/machinectl.xml')
-rw-r--r--man/machinectl.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml
index cabdbac962..2e7fa3bf8d 100644
--- a/man/machinectl.xml
+++ b/man/machinectl.xml
@@ -311,6 +311,10 @@
this to an empty string or the value
<literal>cat</literal> is equivalent to passing
<option>--no-pager</option>.</para></listitem>
+ <term><varname>$SYSTEMD_LESS</varname></term>
+ <listitem><para><varname>$SYSTEMD_LESS</varname> overrides the
+ default options passed to <literal>less</literal>
+ (<literal>FRSXMK</literal>).</para></listitem>
</varlistentry>
</variablelist>
</refsect1>