diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-15 10:56:28 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-17 21:09:14 +0100 |
commit | 6906da26926365b6b8c06cd81f1dac4f49288041 (patch) | |
tree | a65b20efd83184d3779e179469f698aa88efc7fa /man/standard-options.xml | |
parent | journal-remote: inline one more iterator variable declaration (diff) | |
download | systemd-6906da26926365b6b8c06cd81f1dac4f49288041.tar.xz systemd-6906da26926365b6b8c06cd81f1dac4f49288041.zip |
systemctl: hide legends with --quiet, allow overriding
--no-legend is replaced by --legend=no.
--quiet now implies --legend=no, but --legend=yes may be used to override that.
--quiet controls hints and warnings and such, and --legend controls just the
legends. I think it makes sense to allow both to controlled independently, in
particular --quiet --legend makes sense when using systemctl in a script to
provide some user-visible output.
Fixes #18560.
Diffstat (limited to 'man/standard-options.xml')
-rw-r--r-- | man/standard-options.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/standard-options.xml b/man/standard-options.xml index 4565a43b24..d42f3296ca 100644 --- a/man/standard-options.xml +++ b/man/standard-options.xml @@ -35,6 +35,15 @@ <listitem><para>Do not query the user for authentication for privileged operations.</para></listitem> </varlistentry> + <varlistentry id='legend'> + <term><option>--legend=</option><replaceable>BOOL</replaceable></term> + + <listitem> + <para>Enable or disable printing of the legend, i.e. column headers and the footer with hints. The + legend is printed by default, unless disabled with <option>--quiet</option> or similar.</para> + </listitem> + </varlistentry> + <varlistentry id='no-legend'> <term><option>--no-legend</option></term> |