From 8ff34c87b2ba04b445d39139fb1f8bcfba64774c Mon Sep 17 00:00:00 2001 From: Hardik Jaroli Date: Wed, 8 Jul 2020 03:01:42 +0530 Subject: [PATCH] update (#1544) --- content/docs/command-reference/plots/diff.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/docs/command-reference/plots/diff.md b/content/docs/command-reference/plots/diff.md index 632bb8bc52..a772d4ba17 100644 --- a/content/docs/command-reference/plots/diff.md +++ b/content/docs/command-reference/plots/diff.md @@ -105,12 +105,21 @@ file:///Users/dmitry/src/plots/logs.html Compare two specific versions (commit hashes, tags, or branches): ```dvc -$ dvc plots diff --targets logs.csv HEAD 0135527 +$ dvc plots diff HEAD 0135527 --targets logs.csv file:///Users/usr/src/plots/logs.csv.html ``` ![](/img/plots_diff.svg) +> Alternatively, you can also run above statement as: +> +> ```dvc +> $ dvc plots diff --targets logs.csv -- HEAD 0135527 +> ``` +> +> When you're specifying multiple revisions after `--targets`, use `--` so that +> argument parser doesn't confuse them as options for `--targets` argument. + ## Example: Confusion matrix We'll use tabular metrics file `classes.csv` for this example: