virsh-network: Add network name completion to 'net-event' command

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Lin Ma 2018-05-15 19:18:20 +08:00 committed by Michal Privoznik
parent de97d5600c
commit 27631eac7a

View File

@ -1202,10 +1202,7 @@ static const vshCmdInfo info_network_event[] = {
}; };
static const vshCmdOptDef opts_network_event[] = { static const vshCmdOptDef opts_network_event[] = {
{.name = "network", VIRSH_COMMON_OPT_NETWORK_OT_STRING(N_("filter by network name or uuid"), 0),
.type = VSH_OT_STRING,
.help = N_("filter by network name or uuid")
},
{.name = "event", {.name = "event",
.type = VSH_OT_STRING, .type = VSH_OT_STRING,
.help = N_("which event type to wait for") .help = N_("which event type to wait for")