From: Lin Ma Date: Tue, 15 May 2018 11:18:20 +0000 (+0800) Subject: virsh-network: Add network name completion to 'net-event' command X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=27631eac7a3e9e8af286e45bdb11de0860b07b2d;p=libvirt.git virsh-network: Add network name completion to 'net-event' command Signed-off-by: Lin Ma --- diff --git a/tools/virsh-network.c b/tools/virsh-network.c index 7a8bcb1beb..bcf322a5ae 100644 --- a/tools/virsh-network.c +++ b/tools/virsh-network.c @@ -1202,10 +1202,7 @@ static const vshCmdInfo info_network_event[] = { }; static const vshCmdOptDef opts_network_event[] = { - {.name = "network", - .type = VSH_OT_STRING, - .help = N_("filter by network name or uuid") - }, + VIRSH_COMMON_OPT_NETWORK_OT_STRING(N_("filter by network name or uuid"), 0), {.name = "event", .type = VSH_OT_STRING, .help = N_("which event type to wait for")