]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Use consistent spacing for net-list
authorCole Robinson <crobinso@redhat.com>
Fri, 29 May 2009 14:00:41 +0000 (14:00 +0000)
committerCole Robinson <crobinso@redhat.com>
Fri, 29 May 2009 14:00:41 +0000 (14:00 +0000)
There is different spacing when listing active vs. inactive networks. Ex:

Name                 State      Autostart
-----------------------------------------
default              active     yes
xxxxxx               inactive no

ChangeLog
src/virsh.c

index c27672483fa68d307613c9bcae0c0c19e9067f8b..ddc91bf3b245fe28d687d6e5bc1efa74197b3b13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index fe4e8e6a537bc6f1649859c28a2fa3278506bf9f..e6241e62923c3267020b5314dfcf8357fbc3f498 100644 (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);