From 58c73c178972ba31bf91b87b5ccad571cdc2182f Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 29 May 2009 14:00:41 +0000 Subject: [PATCH] virsh: Use consistent spacing for net-list There is different spacing when listing active vs. inactive networks. Ex: Name State Autostart ----------------------------------------- default active yes xxxxxx inactive no --- ChangeLog | 4 ++++ src/virsh.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c27672483f..ddc91bf3b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri May 29 10:00:01 EDT 2009 Cole Robinson + + * src/virsh.c : virsh: Use consistent spacing for net-list + Fri May 29 15:29:32 CEST 2009 Daniel Veillard * src/qemu_conf.c docs/schemas/domain.rng diff --git a/src/virsh.c b/src/virsh.c index fe4e8e6a53..e6241e6292 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -2798,7 +2798,7 @@ cmdNetworkList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED) else autostartStr = autostart ? "yes" : "no"; - vshPrint(ctl, "%-20s %s %s\n", + vshPrint(ctl, "%-20s %-10s %-10s\n", inactiveNames[i], _("inactive"), autostartStr);