mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
498046daa6
commit
f2fbf2dc95
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue