[libvirt] [PATCH v2 07/13] virsh: Add interface name completion to iface-mac command
Lin Ma
lma at suse.com
Tue Nov 10 09:50:58 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 ae234e1e22..858052d341 100644
--- a/tools/virsh-interface.c
+++ b/tools/virsh-interface.c
@@ -441,6 +441,7 @@ static const vshCmdOptDef opts_interface_mac[] = {
{.name = "interface",
.type = VSH_OT_DATA,
.flags = VSH_OFLAG_REQ,
+ .completer = virshInterfaceNameCompleter,
.help = N_("interface name")
},
{.name = NULL}
--
2.26.0
More information about the libvir-list
mailing list