completion: misc fixes (#4076)

* command: add metavars

- makes help output look the same as before #3921

* deps: update shtab version

Part of #4070
This commit is contained in:
Casper da Costa-Luis
2020-06-22 02:09:43 +03:00
committed by GitHub
parent 9f6f599101
commit 061513a2ae
20 changed files with 29 additions and 3 deletions
+1
View File
@@ -67,6 +67,7 @@ def add_parser(subparsers, parent_parser):
nargs="*",
help="DVC-files to commit. Optional. "
"(Finds all DVC-files in the workspace by default.)",
metavar="targets",
choices=completion.Optional.DVC_FILE,
)
commit_parser.set_defaults(func=CmdCommit)