mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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",
|
{.name = "interface",
|
||||||
.type = VSH_OT_DATA,
|
.type = VSH_OT_DATA,
|
||||||
.flags = VSH_OFLAG_REQ,
|
.flags = VSH_OFLAG_REQ,
|
||||||
|
.completer = virshInterfaceNameCompleter,
|
||||||
.help = N_("interface name")
|
.help = N_("interface name")
|
||||||
},
|
},
|
||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user