From e27a421ca2abfdbaced6172bfdf60c0db5188fd1 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 8 Dec 2020 02:26:55 +0200 Subject: [PATCH] docs: remove obsoleted --cwd Per https://github.com/iterative/dvc/pull/5048 . This is for 2.0, but we are safe to merge this right now. --- content/docs/command-reference/repro.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/content/docs/command-reference/repro.md b/content/docs/command-reference/repro.md index 733d5c2a90..b889dae7a8 100644 --- a/content/docs/command-reference/repro.md +++ b/content/docs/command-reference/repro.md @@ -8,7 +8,7 @@ analyzing dependencies and outputs of the target stages. ## Synopsis ```usage -usage: dvc repro [-h] [-q | -v] [-f] [-s] [-c ] [-m] [--dry] [-i] +usage: dvc repro [-h] [-q | -v] [-f] [-s] [-m] [--dry] [-i] [-p] [-P] [-R] [--no-run-cache] [--force-downstream] [--no-commit] [--downstream] [--pull] [targets [targets ...]] @@ -48,8 +48,8 @@ commands. [Stage](/doc/command-reference/run) outputs are deleted from the workspace before executing the stage commands that produce them. There are a few ways to restrict what will be regenerated by this command: by -specifying stages as `targets`, or by using the `--single-item`, `--cwd`, among -other options. +specifying stages as `targets`, or by using the `--single-item`, among other +options. > Note that stages without dependencies are considered _always changed_, so > `dvc repro` always executes them. @@ -95,21 +95,12 @@ up-to-date and only execute the final stage. - `-f`, `--force` - reproduce a pipeline, regenerating its results, even if no changes were found. This executes all of the stages by default, but it can be - limited with the `targets` argument, or the `-s`, `-p`, `-c` options. + limited with the `targets` argument, or the `-s`, `-p` options. - `-s`, `--single-item` - reproduce only a single stage by turning off the recursive search for changed dependencies. Multiple stages are executed (non-recursively) if multiple stage names are given as `targets`. -- `-c `, `--cwd ` - (**deprecated**) this is now supported for any - command with the global [`dvc --cd `](/doc/command-reference) option. - - Directory within the project to reproduce from. `targets` will be searched - relative to this path. Instead of using `--cwd`, one can alternately specify a - target in a subdirectory as `path/to/target.dvc`. This option can be useful - for example with subdirectories containing a separate pipeline that can be - reproduced independently. - - `-R`, `--recursive` - determines the stages to reproduce by searching each target directory and its subdirectories for stages (in `dvc.yaml`) to inspect. If there are no directories among the targets, this option is ignored.