virsh: fix 'help event'

'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@redhat.com>
This commit is contained in:
Eric Blake 2014-03-31 07:05:33 -06:00
parent 1d8be34334
commit 14d7fcc23a
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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",