mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-30 23:10:41 +01:00
commands: remove default=None from argparse add_argument calls
Per https://github.com/iterative/dvc/pull/2112#pullrequestreview-255013079
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user