
15 May
2018
15 May
'18
1:18 p.m.
Signed-off-by: Lin Ma <lma@suse.com> --- 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.16.2