summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-07-26 10:02:49 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-07-26 10:02:49 +0200
commitde0939bc6c67e8b9c9894e80f4d80eaeedbecf11 (patch)
treef9bceb5541b218dfd6fab134b8c5e1e8d5569419
parentebd63ecc0db4e4fbba69b03ea211e94d46e01dea (diff)
cynadm: align listing on left
Change-Id: I51876cc4bf85d692a8bee7cf272d5eeddff9c2a7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/main-cynadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-cynadm.c b/src/main-cynadm.c
index 59253f1..6b0fe1d 100644
--- a/src/main-cynadm.c
+++ b/src/main-cynadm.c
@@ -425,7 +425,7 @@ int do_list(int ac, char **av)
else {
it = lr.head = listresult_sort(lr.count, lr.head);
while(it) {
- fprintf(stdout, "%*s %*s %*s %*s %*s %*s\n",
+ fprintf(stdout, "%-*s %-*s %-*s %-*s %-*s %-*s\n",
(int)lr.lengths[0], it->items[0],
(int)lr.lengths[1], it->items[1],
(int)lr.lengths[2], it->items[2],