summaryrefslogtreecommitdiff
path: root/man/journalctl.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/journalctl.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/journalctl.xml')
-rw-r--r--man/journalctl.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 3b05e80fc1..18a1b9ef2d 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -887,6 +887,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>