mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
virsh: Use 'virshStoragePoolNameCompleter' for two options
'--pool' of the 'pool-event' command and '--inputpool' of 'vol-create-from' use the above mentioned completer. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
573385dc9c
commit
f20512c414
@ -1980,6 +1980,7 @@ static const vshCmdInfo info_pool_event[] = {
|
||||
static const vshCmdOptDef opts_pool_event[] = {
|
||||
{.name = "pool",
|
||||
.type = VSH_OT_STRING,
|
||||
.completer = virshStoragePoolNameCompleter,
|
||||
.help = N_("filter by storage pool name or uuid")
|
||||
},
|
||||
{.name = "event",
|
||||
|
@ -454,6 +454,7 @@ static const vshCmdOptDef opts_vol_create_from[] = {
|
||||
VIRSH_COMMON_OPT_VOL_FULL,
|
||||
{.name = "inputpool",
|
||||
.type = VSH_OT_STRING,
|
||||
.completer = virshStoragePoolNameCompleter,
|
||||
.help = N_("pool name or uuid of the input volume's pool")
|
||||
},
|
||||
{.name = "prealloc-metadata",
|
||||
|
Loading…
Reference in New Issue
Block a user