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
This commit is contained in:
Cole Robinson 2009-05-29 14:00:41 +00:00
parent 525c3d40a9
commit 58c73c1789
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri May 29 10:00:01 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/virsh.c : virsh: Use consistent spacing for net-list
Fri May 29 15:29:32 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/qemu_conf.c docs/schemas/domain.rng

View File

@ -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);