From: Radoslaw Smigielski <rsmigiel@redhat.com>
The '--file' option of 'save' command specifies where to store the
saved domain state.
Partially-fixes: https://gitlab.com/libvirt/libvirt/-/work_items/9
Signed-off-by: Radoslaw Smigielski <rsmigiel@redhat.com>
---
tools/virsh-domain.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index abe3d0b3451e..56066edc5b31 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -4652,6 +4652,7 @@ static const vshCmdOptDef opts_save[] = {
.type = VSH_OT_STRING,
.positional = true,
.required = true,
+ .completer = vshCompletePathLocalExisting,
.help = N_("where to save the data")
},
{.name = "bypass-cache",
--
2.54.0