[libvirt] [PATCH 06/19] virsh: Add interface name completion to iface-bridge command
Lin Ma
lma at suse.com
Mon Nov 2 08:26:08 UTC 2020
Signed-off-by: Lin Ma <lma at suse.com>
---
tools/virsh-interface.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c
index 6c47767754..13e120d7a0 100644
--- a/tools/virsh-interface.c
+++ b/tools/virsh-interface.c
@@ -785,11 +785,7 @@ static const vshCmdInfo info_interface_bridge[] = {
};
static const vshCmdOptDef opts_interface_bridge[] = {
- {.name = "interface",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("existing interface name")
- },
+ VIRSH_COMMON_OPT_INTERFACE(N_("existing interface name"), 0),
{.name = "bridge",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
--
2.26.0
More information about the libvir-list
mailing list