systemctl: use underlines to seperate unit types in listing
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Oct 2016 15:37:41 +0000 (11:37 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Oct 2016 15:37:41 +0000 (11:37 -0400)
commit16484a8a1506abcac057825dc5d28c52949023cc
tree2e45bf587867d116d63b5379b37c4c42e3a7d184
parent08a28eeca70eeefb55af61191b63e4c938daca73
systemctl: use underlines to seperate unit types in listing

(printf("%.*s", -1, "…") is the same as not specifying the precision at all.)

v2: also underline highlighted (failing) units

Fixes #4137.
src/basic/terminal-util.h
src/systemctl/systemctl.c