mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
commit,completion: Add stages completion for dvc commit (#5963)
Fixes #5960 Co-authored-by: Chiao-Wei Hsu <[email protected]>
This commit is contained in:
co-authored by
Chiao-Wei Hsu
parent
c2f1a1e162
commit
3670bf4fc3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user