mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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:
parent
1d8be34334
commit
14d7fcc23a
@ -11030,7 +11030,7 @@ static vshEventCallback vshEventCallbacks[] = {
|
|||||||
verify(VIR_DOMAIN_EVENT_ID_LAST == ARRAY_CARDINALITY(vshEventCallbacks));
|
verify(VIR_DOMAIN_EVENT_ID_LAST == ARRAY_CARDINALITY(vshEventCallbacks));
|
||||||
|
|
||||||
static const vshCmdInfo info_event[] = {
|
static const vshCmdInfo info_event[] = {
|
||||||
{.name = "event",
|
{.name = "help",
|
||||||
.data = N_("Domain Events")
|
.data = N_("Domain Events")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
|
@ -1180,7 +1180,7 @@ vshEventLifecyclePrint(virConnectPtr conn ATTRIBUTE_UNUSED,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const vshCmdInfo info_network_event[] = {
|
static const vshCmdInfo info_network_event[] = {
|
||||||
{.name = "net-event",
|
{.name = "help",
|
||||||
.data = N_("Network Events")
|
.data = N_("Network Events")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user