help: update usage for commands that use the targets argument

This commit is contained in:
Jorge Orpinel
2019-06-26 23:25:58 -05:00
parent e3f1e61c28
commit 936f941bf0
9 changed files with 38 additions and 19 deletions
+5 -1
View File
@@ -65,6 +65,10 @@ def add_parser(subparsers, parent_parser):
help="Commit cache for subdirectories of the specified directory.",
)
commit_parser.add_argument(
"targets", nargs="*", default=None, help="DVC-files."
"targets",
nargs="*",
default=None,
help="DVC-files to commit. Optional."
"(Finds all DVC-files in the workspace by default.)",
)
commit_parser.set_defaults(func=CmdCommit)