mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: Use 'virshCompletePathLocalExisting' for options reading local files
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -39,10 +39,12 @@ static const vshCmdOptDef opts_backup_begin[] = {
|
||||
VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
|
||||
{.name = "backupxml",
|
||||
.type = VSH_OT_STRING,
|
||||
.completer = virshCompletePathLocalExisting,
|
||||
.help = N_("domain backup XML"),
|
||||
},
|
||||
{.name = "checkpointxml",
|
||||
.type = VSH_OT_STRING,
|
||||
.completer = virshCompletePathLocalExisting,
|
||||
.help = N_("domain checkpoint XML"),
|
||||
},
|
||||
{.name = "reuse-external",
|
||||
|
||||
Reference in New Issue
Block a user