From 78809398df6a7ba4c298176df5c16ae129c203b1 Mon Sep 17 00:00:00 2001 From: Lin Ma Date: Tue, 15 May 2018 19:18:22 +0800 Subject: [PATCH] virsh-network: Add network name completion to 'net-uuid' command Signed-off-by: Lin Ma --- tools/virsh-network.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/virsh-network.c b/tools/virsh-network.c index 89613f2a24..ca07fb568f 100644 --- a/tools/virsh-network.c +++ b/tools/virsh-network.c @@ -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} }; -- 2.39.5