virsh: Add interface name completion to iface-bridge command

Signed-off-by: Lin Ma <lma@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Lin Ma 2020-11-10 17:50:57 +08:00 committed by Michal Privoznik
parent bfb82029a1
commit 498046daa6
1 changed files with 1 additions and 0 deletions

View File

@ -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",