From fa89ea5681befb81074d19907d194389811977cb Mon Sep 17 00:00:00 2001 From: Guillermo Blanco Date: Mon, 5 Oct 2020 12:34:56 +0200 Subject: [PATCH] completions: fix run command outputs autocompletion Fixes #4552 --- dvc/command/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/command/run.py b/dvc/command/run.py index ae92bc93eb..fb75ce1ec3 100644 --- a/dvc/command/run.py +++ b/dvc/command/run.py @@ -111,7 +111,7 @@ def add_parser(subparsers, parent_parser): default=[], help="Declare output file or directory.", metavar="", - ) + ).complete = completion.FILE run_parser.add_argument( "-O", "--outs-no-cache", @@ -120,7 +120,7 @@ def add_parser(subparsers, parent_parser): help="Declare output file or directory " "(do not put into DVC cache).", metavar="", - ) + ).complete = completion.FILE run_parser.add_argument( "-p", "--params",