]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: hide first column with --plain instead of --no-legend
authorJouke Witteveen <j.witteveen@gmail.com>
Fri, 17 Apr 2020 09:40:03 +0000 (11:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Apr 2020 17:15:49 +0000 (19:15 +0200)
commit1cabd2d0c56b7de73e4a4fb645f3bbed4a528d2c
treed51abd3c61a38ce23442937804e4aceb0da058b3
parent75dff0f910e6f9f49344a1f276b4d37a76586de6
systemctl: hide first column with --plain instead of --no-legend

Hiding the first column, which may contain bullet circles, with --no-legend
is undocumented and potentially unexpected. On the other hand, not printing
bullet circles with --plain is documented so hiding the column with that
switch is sensible.

The combination "--full --no-legend --no-pager --plain" is appropriate for
automated processing of systemctl output.
NEWS
shell-completion/bash/systemctl.in
shell-completion/bash/systemd-analyze
shell-completion/bash/systemd-cgls
shell-completion/bash/systemd-nspawn
shell-completion/bash/systemd-run
shell-completion/bash/udevadm
shell-completion/zsh/_systemctl.in
shell-completion/zsh/_systemd-run
src/systemctl/systemctl.c