commit,completion: Add stages completion for dvc commit (#5963)

Fixes #5960

Co-authored-by: Chiao-Wei Hsu <[email protected]>
This commit is contained in:
ciaochiaociao
2021-05-05 15:53:20 +03:00
committed by GitHub
co-authored by Chiao-Wei Hsu
parent c2f1a1e162
commit 3670bf4fc3
+1 -1
View File
@@ -71,5 +71,5 @@ def add_parser(subparsers, parent_parser):
nargs="*",
help="stages or .dvc files to commit. Optional. "
"(Finds all DVC files in the workspace by default.)",
).complete = completion.DVC_FILE
).complete = completion.DVCFILES_AND_STAGE
commit_parser.set_defaults(func=CmdCommit)