[libvirt] [PATCH v2 06/13] virsh: Add interface name completion to iface-bridge command
Lin Ma
lma at suse.com
Tue Nov 10 09:50:57 UTC 2020
Signed-off-by: Lin Ma <lma at suse.com>
---
tools/virsh-interface.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c
index ae2b52bfc3..ae234e1e22 100644
--- a/tools/virsh-interface.c
+++ b/tools/virsh-interface.c
@@ -786,6 +786,7 @@ static const vshCmdOptDef opts_interface_bridge[] = {
{.name = "interface",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
+ .completer = virshInterfaceNameCompleter,
.help = N_("existing interface name")
},
{.name = "bridge",
--
2.26.0
More information about the libvir-list
mailing list