From: Radoslaw Smigielski <[email protected]> The '--file' option of 'dump' command specifies where to store the core dump file.
Partially-fixes: https://gitlab.com/libvirt/libvirt/-/work_items/9 Signed-off-by: Radoslaw Smigielski <[email protected]> --- tools/virsh-domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index aa4f2a7a481b..f466976931c6 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5911,6 +5911,7 @@ static const vshCmdOptDef opts_dump[] = { .type = VSH_OT_STRING, .positional = true, .required = true, + .completer = vshCompletePathLocalExisting, .help = N_("where to dump the core") }, VIRSH_COMMON_OPT_LIVE(N_("perform a live core dump if supported")), -- 2.54.0
