diff --git a/static/docs/command-reference/update.md b/static/docs/command-reference/update.md index 93df4f7949..8b4b5c1c3a 100644 --- a/static/docs/command-reference/update.md +++ b/static/docs/command-reference/update.md @@ -7,7 +7,7 @@ repositories, and corresponding ## Synopsis ```usage -usage: dvc update [-h] [-q | -v] targets [targets ...] +usage: dvc update [-h] [-q | -v] [--rev [REV]] targets [targets ...] positional arguments: targets DVC-files to update. @@ -39,6 +39,12 @@ to learn how to "update" fixed-revision imports. ## Options +- `--rev` - specific + [Git revision](https://git-scm.com/book/en/v2/Git-Internals-Git-References) + (such as a branch name, a tag, or a commit hash) of the DVC repository to + update the data from. Repository's revision formed by the first import is used + by default when this option is not specified. + - `-h`, `--help` - prints the usage/help message, and exit. - `-q`, `--quiet` - do not write anything to standard output. Exit with 0 if no