mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
help: finish singularizing "pipeline" term...
(in status and repro command help outputs) Per #2158
This commit is contained in:
@@ -278,7 +278,7 @@ def add_parser(subparsers, _parent_parser):
|
||||
default=False,
|
||||
help=(
|
||||
"Suppresses all output."
|
||||
" Exit with 0 if pipeline is up to date, otherwise 1."
|
||||
" Exit with 0 if pipeline(s) is (are) up to date, otherwise 1."
|
||||
),
|
||||
)
|
||||
status_parser.add_argument(
|
||||
|
||||
@@ -152,6 +152,6 @@ def add_parser(subparsers, parent_parser):
|
||||
"--downstream",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Reproduce the pipeline starting from the specified stage.",
|
||||
help="Reproduce pipeline(s) starting from the specified stage.",
|
||||
)
|
||||
repro_parser.set_defaults(func=CmdRepro)
|
||||
|
||||
@@ -12,7 +12,7 @@ logger = logging.getLogger(__name__)
|
||||
class CmdDataStatus(CmdDataBase):
|
||||
STATUS_LEN = 20
|
||||
STATUS_INDENT = "\t"
|
||||
UP_TO_DATE_MSG = "Pipeline is up to date. Nothing to reproduce."
|
||||
UP_TO_DATE_MSG = "Pipeline(s) is (are) up to date. Nothing to reproduce."
|
||||
|
||||
def _normalize(self, s):
|
||||
s += ":"
|
||||
|
||||
@@ -216,7 +216,7 @@ _dvc_repro=(
|
||||
{-R,--recursive}"[Reproduce all stages in the specified directory.]"
|
||||
"--ignore-build-cache[Reproduce all descendants of a changed stage even if their direct dependencies didn't change.]"
|
||||
"--no-commit[Don't put files/directories into cache.]"
|
||||
"--downstream[Reproduce the pipeline starting from the specified stage.]"
|
||||
"--downstream[Reproduce pipeline(s) starting from the specified stage.]"
|
||||
"*:Stages:_files -g '(*.dvc|Dvcfile)'"
|
||||
)
|
||||
|
||||
@@ -244,7 +244,7 @@ _dvc_run=(
|
||||
_dvc_status=(
|
||||
{-j,--jobs}"[Number of jobs to run simultaneously.]:Number of jobs:"
|
||||
"--show-checksums[Show checksums instead of file names.]"
|
||||
{-q,--quiet}"[Suppresses all output. Exit with 0 if pipeline is up to date, otherwise 1.]"
|
||||
{-q,--quiet}"[Suppresses all output. Exit with 0 if pipeline(s) is (are) up to date, otherwise 1.]"
|
||||
{-c,--cloud}"[Show status of a local cache compared to a remote repository.]"
|
||||
{-r,--remote}"[Remote repository to compare local cache to.]:Remote repository:"
|
||||
{-a,--all-branches}"[Show status of a local cache compared to a remote repository for all branches.]"
|
||||
|
||||
Reference in New Issue
Block a user