mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
virsh-volume: Apply virshStorageVolNameCompleter to vol-{key,path} commands
Signed-off-by: Lin Ma <lma@suse.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
6a1bf268d9
commit
16c43b2d49
@ -1643,11 +1643,7 @@ static const vshCmdInfo info_vol_key[] = {
|
||||
};
|
||||
|
||||
static const vshCmdOptDef opts_vol_key[] = {
|
||||
{.name = "vol",
|
||||
.type = VSH_OT_DATA,
|
||||
.flags = VSH_OFLAG_REQ,
|
||||
.help = N_("volume name or path")
|
||||
},
|
||||
VIRSH_COMMON_OPT_VOL_NAME(N_("volume name or path")),
|
||||
VIRSH_COMMON_OPT_POOL_OPTIONAL,
|
||||
{.name = NULL}
|
||||
};
|
||||
@ -1679,11 +1675,7 @@ static const vshCmdInfo info_vol_path[] = {
|
||||
};
|
||||
|
||||
static const vshCmdOptDef opts_vol_path[] = {
|
||||
{.name = "vol",
|
||||
.type = VSH_OT_DATA,
|
||||
.flags = VSH_OFLAG_REQ,
|
||||
.help = N_("volume name or key")
|
||||
},
|
||||
VIRSH_COMMON_OPT_VOL_NAME(N_("volume name or key")),
|
||||
VIRSH_COMMON_OPT_POOL_OPTIONAL,
|
||||
{.name = NULL}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user