mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
virsh: Add device name completion for target option of detach-disk command
Signed-off-by: Lin Ma <lma@suse.com>
This commit is contained in:
parent
aa42d364a5
commit
ab8aa7ccc8
@ -12548,6 +12548,7 @@ static const vshCmdOptDef opts_detach_disk[] = {
|
|||||||
{.name = "target",
|
{.name = "target",
|
||||||
.type = VSH_OT_DATA,
|
.type = VSH_OT_DATA,
|
||||||
.flags = VSH_OFLAG_REQ,
|
.flags = VSH_OFLAG_REQ,
|
||||||
|
.completer = virshDomainDiskTargetCompleter,
|
||||||
.help = N_("target of disk device")
|
.help = N_("target of disk device")
|
||||||
},
|
},
|
||||||
VIRSH_COMMON_OPT_DOMAIN_PERSISTENT,
|
VIRSH_COMMON_OPT_DOMAIN_PERSISTENT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user