diff: remove --target

This commit is contained in:
Mr. Outis
2020-01-27 16:06:46 -06:00
parent 3c6b52bb91
commit 7f6324e298
5 changed files with 3 additions and 47 deletions
+1 -12
View File
@@ -72,9 +72,7 @@ class CmdDiff(CmdBase):
def run(self):
try:
diff = self.repo.diff(
self.args.a_ref, self.args.b_ref, target=self.args.target
)
diff = self.repo.diff(self.args.a_ref, self.args.b_ref)
if not any(diff.values()):
return 0
@@ -124,15 +122,6 @@ def add_parser(subparsers, parent_parser):
),
nargs="?",
)
diff_parser.add_argument(
"-t",
"--target",
help=(
"Source path to a data file or directory. Default None. "
"If not specified, compares all files and directories "
"that are under DVC control in the current working space."
),
)
diff_parser.add_argument(
"--show-json",
help="Format the output into a JSON",