[PATCH] virsh: fix 'help event'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'virsh help event' included a summary line "event - (null)"
due to a misnamed info field.

* tools/virsh-domain.c (info_event): Use correct name.
* tools/virsh-network.c (info_network_event): Likewise.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---

Deserves to be in 1.2.3

 tools/virsh-domain.c  | 2 +-
 tools/virsh-network.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index d9aa4fa..73414f8 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -11030,7 +11030,7 @@ static vshEventCallback vshEventCallbacks[] = {
 verify(VIR_DOMAIN_EVENT_ID_LAST == ARRAY_CARDINALITY(vshEventCallbacks));

 static const vshCmdInfo info_event[] = {
-    {.name = "event",
+    {.name = "help",
      .data = N_("Domain Events")
     },
     {.name = "desc",
diff --git a/tools/virsh-network.c b/tools/virsh-network.c
index 078a3cf..4b0df62 100644
--- a/tools/virsh-network.c
+++ b/tools/virsh-network.c
@@ -1180,7 +1180,7 @@ vshEventLifecyclePrint(virConnectPtr conn ATTRIBUTE_UNUSED,
 }

 static const vshCmdInfo info_network_event[] = {
-    {.name = "net-event",
+    {.name = "help",
      .data = N_("Network Events")
     },
     {.name = "desc",
-- 
1.9.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]