Skip to content

Commit

Permalink
completions: fix run command dependencies autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
geblanco committed Oct 2, 2020
1 parent 3d2493a commit 17e1eb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dvc/command/run.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import argparse
import logging

from dvc.command import completion
from dvc.command.base import CmdBase, append_doc_link
from dvc.exceptions import DvcException

Expand Down Expand Up @@ -99,7 +100,7 @@ def add_parser(subparsers, parent_parser):
default=[],
help="Declare dependencies for reproducible cmd.",
metavar="<path>",
)
).complete = completion.FILE
run_parser.add_argument(
"-n", "--name", help="Stage name.",
)
Expand Down

0 comments on commit 17e1eb6

Please sign in to comment.