command: remove default property from "targets" argparse code in

data sync and `commit` commands,
since `None` is the default value for the removed `default` property,
see https://docs.python.org/dev/library/argparse.html#default
This commit is contained in:
Jorge Orpinel
2019-06-27 00:26:56 -05:00
parent 936f941bf0
commit a927a506a7
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -67,7 +67,6 @@ def add_parser(subparsers, parent_parser):
commit_parser.add_argument(
"targets",
nargs="*",
default=None,
help="DVC-files to commit. Optional."
"(Finds all DVC-files in the workspace by default.)",
)