mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: Add target name completion for block device options
Signed-off-by: Lin Ma <lma@suse.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -391,6 +391,7 @@ static const vshCmdOptDef opts_domblkinfo[] = {
|
||||
{.name = "device",
|
||||
.type = VSH_OT_DATA,
|
||||
.flags = VSH_OFLAG_REQ,
|
||||
.completer = virshDomainDiskTargetCompleter,
|
||||
.help = N_("block device")
|
||||
},
|
||||
{.name = "human",
|
||||
@@ -807,6 +808,7 @@ static const vshCmdOptDef opts_domblkstat[] = {
|
||||
{.name = "device",
|
||||
.type = VSH_OT_STRING,
|
||||
.flags = VSH_OFLAG_EMPTY_OK,
|
||||
.completer = virshDomainDiskTargetCompleter,
|
||||
.help = N_("block device")
|
||||
},
|
||||
{.name = "human",
|
||||
|
||||
Reference in New Issue
Block a user