From: Radoslaw Smigielski <[email protected]> The '--type' option of 'detach-interface' command specifies the network interface type to detach.
Partially-fixes: https://gitlab.com/libvirt/libvirt/-/work_items/9 Signed-off-by: Radoslaw Smigielski <[email protected]> --- tools/virsh-domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index e6f2ca3a449a..79823072ad26 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -12785,6 +12785,7 @@ static const vshCmdOptDef opts_detach_interface[] = { {.name = "type", .type = VSH_OT_STRING, .positional = true, + .completer = virshDomainNetTypeCompleter, .help = N_("network interface type") }, {.name = "mac", -- 2.54.0
