]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: tweak the "systemctl list-units" output a bit
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Oct 2016 09:06:47 +0000 (11:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 17:39:49 +0000 (11:39 -0600)
commitb5d7f1bbfa09f2713d72f76f89d2f830e382382b
treebd771540a044d77133aa91720da7280a9a235aa8
parent835a19e02fa96a5f13700d0ce9f4b1813d0c1ad6
systemctl: tweak the "systemctl list-units" output a bit

Make the underlining between the header and the body and between the units of
different types span the whole width of the table.

Let's never make the table wider than necessary (which is relevant due the
above).

When space is limited and we can't show the full ID or description string
prefer showing the full ID over the full description. The ID is after all
something people might want to copy/paste, while the description is mostly just
helpful decoration.
src/systemctl/systemctl.c