virsh: Add interface name completion to iface-mac command

Signed-off-by: Lin Ma <lma@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Lin Ma authored and Michal Privoznik committed 2020-11-10 18:34:16 +01:00
1 parent 498046daa6
commit f2fbf2dc95
1 file changed
+1
+1
View File
@@ -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}