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

Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
Lin Ma 2018-05-15 19:18:22 +08:00 committed by Michal Privoznik
parent c5a9e6a9ac
commit 78809398df

View File

@ -1032,11 +1032,7 @@ static const vshCmdInfo info_network_uuid[] = {
};
static const vshCmdOptDef opts_network_uuid[] = {
{.name = "network",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
.help = N_("network name")
},
VIRSH_COMMON_OPT_NETWORK(N_("network name"), 0),
{.name = NULL}
};