]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix virsh net-info output for consistency
authorHao Liu <hliu@redhat.com>
Tue, 19 Nov 2013 06:20:57 +0000 (14:20 +0800)
committerEric Blake <eblake@redhat.com>
Tue, 19 Nov 2013 20:16:28 +0000 (13:16 -0700)
All *-info virsh commands output a list of colon-seperated key-val pairs.
But virsh net-info command misses this colon for key "Name" and "UUID".

Signed-off-by: Hao Liu <hliu@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virsh-network.c

index 8ddd5ca4d86be2ca59f2b2c3689f72846b90c2d3..44a676be5d3837f5cb9629d995ba96ba2f854e62 100644 (file)
@@ -367,10 +367,10 @@ cmdNetworkInfo(vshControl *ctl, const vshCmd *cmd)
     if (!(network = vshCommandOptNetwork(ctl, cmd, NULL)))
         return false;
 
-    vshPrint(ctl, "%-15s %s\n", _("Name"), virNetworkGetName(network));
+    vshPrint(ctl, "%-15s %s\n", _("Name:"), virNetworkGetName(network));
 
     if (virNetworkGetUUIDString(network, uuid) == 0)
-        vshPrint(ctl, "%-15s %s\n", _("UUID"), uuid);
+        vshPrint(ctl, "%-15s %s\n", _("UUID:"), uuid);
 
     active = virNetworkIsActive(network);
     if (active >= 0)