summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-09-27 00:48:40 +0200
committerMichal Schmidt <mschmidt@redhat.com>2011-09-27 12:10:27 +0200
commitebed32bfe832071cde95f6adc01b1097ff079c90 (patch)
treeb3b0e270579c61fa2377161659372fe06f15b5fd /man/systemctl.xml
parent4a8e40ebd0938850d326c33a3d563c6cd44d47b4 (diff)
systemctl: print the legend regardless of stdout type, add --no-legend
Print the legend (the column headers and the footer with hints) by default even to non-tty output. People seem to get confused by the difference when they redirect the output. Add a parameter to suppress the printing of the legend. Related-to: https://bugzilla.redhat.com/show_bug.cgi?id=713567
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 468141c2bd..2ea6fe9fdf 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -198,6 +198,14 @@
</varlistentry>
<varlistentry>
+ <term><option>--no-legend</option></term>
+
+ <listitem><para>Do not print a legend, i.e.
+ the column headers and the footer with hints.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--no-pager</option></term>
<listitem><para>Do not pipe output into a