Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying note on dvc plots diff --targets with revisions usage #1567

Merged
merged 1 commit into from
Jul 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions content/docs/command-reference/plots/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,14 @@ please see `dvc plots`.

- `--targets <path>` - specific metric files to visualize. These must be listed
in a [`dvc.yaml`](/doc/user-guide/dvc-files-and-directories#dvcyaml-file) file
(see the `--plots` option of `dvc run`). When you are specifying multiple
arguments for `--targets` and `revisions`, use `--` after all the arguments
for `--targets`:
(see the `--plots` option of `dvc run`). When specifying multiple `--targets`
and `revisions`, you may use `--` after this option's arguments, e.g.:

```dvc
$ dvc plots diff --targets t1.json t2.csv -- HEAD v1 v2
```

Without `--`. this statement will show an error as argument parser confuses
`revisions` as arguments for `--targets` option. Alternatively, you can also
run above statement as:
Alternatively, you can also run above statement as:

```dvc
$ dvc plots diff HEAD v1 v2 --targets t1.json t2.csv
Expand Down