Skip to content

Commit

Permalink
docs: update: add -R|--recursive
Browse files Browse the repository at this point in the history
Fixes #1259
  • Loading branch information
efiop authored May 8, 2020
1 parent 14db49b commit 45fcaa3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/docs/command-reference/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ projects</abbr>, and corresponding [DVC-files](/doc/user-guide/dvc-file-format).
## Synopsis

```usage
usage: dvc update [-h] [-q | -v] [--rev <commit>] targets [targets ...]
usage: dvc update [-h] [-q | -v] [--rev <commit>] [-R] targets [targets ...]
positional arguments:
targets DVC-files to update.
Expand Down Expand Up @@ -44,6 +44,10 @@ dvc update --rev master
> Note that this changes the `rev` field in the import stage, fixing it to the
> revision.
- `-R`, `--recursive` - determines the data artifacts to update by searching
each target directory and its subdirectories for DVC-files to inspect. If
there are no directories among the targets, this option is ignored.

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

- `-q`, `--quiet` - do not write anything to standard output. Exit with 0 if no
Expand Down

0 comments on commit 45fcaa3

Please sign in to comment.