diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 70aa4167c2..f876f30cc5 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5520,6 +5520,7 @@ static const vshCmdOptDef opts_screenshot[] = { VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE), {.name = "file", .type = VSH_OT_STRING, + .completer = virshCompletePathLocalExisting, .help = N_("where to store the screenshot") }, {.name = "screen",