File tree 4 files changed +19
-9
lines changed 4 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,10 @@ def add_parser(subparsers, parent_parser):
174
174
"--targets" ,
175
175
nargs = "*" ,
176
176
help = (
177
- "Limit command scope to these tracked files or directories . "
177
+ "Specific DVC- tracked files to compare . "
178
178
"Accepts one or more file paths."
179
179
),
180
+ metavar = "<paths>" ,
180
181
).complete = completion .FILE
181
182
diff_parser .add_argument (
182
183
"a_rev" ,
Original file line number Diff line number Diff line change @@ -280,8 +280,11 @@ def add_parser(subparsers, parent_parser):
280
280
"--targets" ,
281
281
nargs = "*" ,
282
282
help = (
283
- "Limit command scope to these metrics files. Using -R, "
284
- "directories to search metrics files in can also be given."
283
+ "Specific metrics file(s) to compare "
284
+ "(even if not found as `metrics` in `dvc.yaml`). "
285
+ "Using -R, directories to search metrics files in "
286
+ "can also be given."
287
+ "Shows all tracked metrics by default." ,
285
288
),
286
289
metavar = "<paths>" ,
287
290
).complete = completion .FILE
Original file line number Diff line number Diff line change @@ -98,8 +98,12 @@ def add_parser(subparsers, parent_parser):
98
98
params_diff_parser .add_argument (
99
99
"--targets" ,
100
100
nargs = "*" ,
101
- help = "Limit command scope to these params files." ,
102
- metavar = "<path>" ,
101
+ help = (
102
+ "Specific params file(s) to compare "
103
+ "(even if not found as `params` in `dvc.yaml`). "
104
+ "Shows all tracked params by default." ,
105
+ ),
106
+ metavar = "<paths>" ,
103
107
).complete = completion .FILE
104
108
params_diff_parser .add_argument (
105
109
"--all" ,
Original file line number Diff line number Diff line change @@ -158,10 +158,12 @@ def add_parser(subparsers, parent_parser):
158
158
plots_diff_parser .add_argument (
159
159
"--targets" ,
160
160
nargs = "*" ,
161
- help = "Files to visualize (supports any file, "
162
- "even when not found as `plots` in `dvc.yaml`). "
163
- "Shows all plots by default." ,
164
- metavar = "<path>" ,
161
+ help = (
162
+ "Specific plots file(s) to visualize "
163
+ "(even if not found as `plots` in `dvc.yaml`). "
164
+ "Shows all tracked plots by default." ,
165
+ ),
166
+ metavar = "<paths>" ,
165
167
).complete = completion .FILE
166
168
plots_diff_parser .add_argument (
167
169
"-e" ,
You can’t perform that action at this time.
0 commit comments