Skip to content

Commit

Permalink
docs: --ignore-build-cache -> --no-run-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed May 13, 2020
1 parent df7744b commit 5da1e06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions content/docs/command-reference/repro.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ analyzing dependencies and <abbr>outputs</abbr> of the target stages.

```usage
usage: dvc repro [-h] [-q | -v] [-f] [-s] [-c <path>] [-m] [--dry] [-i]
[-p] [-P] [-R] [--ignore-build-cache] [--no-commit]
[--downstream] [targets [targets ...]]
[-p] [-P] [-R] [--no-run-cache] [--force-downstream]
[--no-commit] [--downstream] [targets [targets ...]]
positional arguments:
targets DVC-file to reproduce. 'Dvcfile' by default.
Expand Down Expand Up @@ -127,7 +127,10 @@ and only execute the final stage.
- `-P`, `--all-pipelines` - reproduce all pipelines, for all the stage files
present in `DVC` repository.

- `--ignore-build-cache` - in cases like `... -> A (changed) -> B -> C` it will
- `--no-run-cache` - execute stage commands even if they have already been run
with the same command/dependencies/outputs/etc before.

- `--force-downstream` - in cases like `... -> A (changed) -> B -> C` it will
reproduce `A` first and then `B`, even if `B` was previously executed with the
same inputs from `A` (cached). To be precise, it reproduces all descendants of
a changed stage or the stages following the changed stage, even if their
Expand Down
6 changes: 3 additions & 3 deletions content/docs/command-reference/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ command and execute the command.
usage: dvc run [-h] [-q | -v] [-d <path>] [-o <path>] [-O <path>]
[-p <params>] [-m <path>] [-M <path>] [-f <filename>]
[-w <path>] [--no-exec] [--overwrite-dvcfile]
[--ignore-build-cache] [--no-commit]
[--no-run-cache] [--no-commit]
[--outs-persist <path>] [--outs-persist-no-cache <path>]
[--always-changed]
command
Expand Down Expand Up @@ -161,8 +161,8 @@ data pipeline (e.g. random numbers, time functions, hardware dependency, etc.)
determined by the logic described in the `-f` option) without asking for
confirmation.

- `--ignore-build-cache` - forcefully execute the `command` again, even if the
same `dvc run` command has already been run in this workspace. Useful if the
- `--no-run-cache` - forcefully execute the `command` again, even if the same
`dvc run` command has already been run in this workspace. Useful if the
command's code is non-deterministic (meaning it produces different outputs
from the same list of inputs).

Expand Down

0 comments on commit 5da1e06

Please sign in to comment.