Skip to content

Commit ab40ed7

Browse files
committed
cmd ref: clarify pre-requisite of --show-url option
per #936 (review)
1 parent 663f589 commit ab40ed7

File tree

1 file changed

+4
-5
lines changed
  • public/static/docs/command-reference

1 file changed

+4
-5
lines changed

public/static/docs/command-reference/get.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,16 @@ name.
5858
an existing directory is specified, then the output will be placed inside of
5959
it.
6060

61-
- `--rev` - `url` is expected to represent a Git repository for this option to
61+
- `--rev` - `url` is expected to contain a Git repository for this option to
6262
have an effect. Specific
6363
[Git revision](https://git-scm.com/book/en/v2/Git-Internals-Git-References)
6464
(such as a branch name, a tag, or a commit hash) of the repository to download
6565
the file or directory from. The tip of the default branch is used by default
6666
when this option is not specified.
6767

68-
- `--show-url` - `url` is expected to represent a DVC project for this option to
69-
have an effect (as opposed to a Git-only, non-DVC repository). When
70-
`--show-url` is used, instead of downloading the file or directory, this
71-
command just prints the storage location (URL) of the target data.
68+
- `--show-url` - `path` is expected to represent a DVC-tracked file for this
69+
option to have an effect. Instead of downloading the file or directory, just
70+
print the storage location (URL) of the target data.
7271

7372
- `-h`, `--help` - prints the usage/help message, and exit.
7473

0 commit comments

Comments
 (0)