ACK.
--
Regards,
Alex
----- Original Message -----
From: hliu(a)redhat.com
To: libvir-list(a)redhat.com
Sent: Tuesday, November 19, 2013 2:20:57 PM
Subject: [libvirt] [PATCH] Fix virsh net-info output for consistency
From: Hao Liu <hliu(a)redhat.com>
All *-info virsh commands output a list of comma seperated key-val pairs.
But virsh net-info command misses this comma for key "Name" and
"UUID".
Signed-off-by: Hao Liu <hliu(a)redhat.com>
---
tools/virsh-network.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/virsh-network.c b/tools/virsh-network.c
index 8ddd5ca..44a676b 100644
--- a/tools/virsh-network.c
+++ b/tools/virsh-network.c
@@ -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)
--
1.8.3.1
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list