commands: remove default=None from argparse add_argument calls

Per https://github.com/iterative/dvc/pull/2112#pullrequestreview-255013079
This commit is contained in:
Jorge Orpinel
2019-06-27 18:39:46 -05:00
parent e04e4c037c
commit 820ad50df8
6 changed files with 4 additions and 19 deletions
-2
View File
@@ -144,7 +144,6 @@ def add_parser(subparsers, parent_parser):
diff_parser.add_argument(
"-t",
"--target",
default=None,
help=(
"Source path to a data file or directory. Default None. "
"If not specified, compares all files and directories "
@@ -161,6 +160,5 @@ def add_parser(subparsers, parent_parser):
"diff shows the difference between current HEAD and a_ref"
),
nargs="?",
default=None,
)
diff_parser.set_defaults(func=CmdDiff)