From d4f4126dddfb76bd2326dd513b38588b7f0193bf Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Tue, 16 Jul 2019 13:36:33 -0400 Subject: [PATCH] help: finish singularizing "pipeline" term... (in status and repro command help outputs) Per #2158 --- dvc/command/data_sync.py | 2 +- dvc/command/repro.py | 2 +- dvc/command/status.py | 2 +- scripts/completion/dvc.zsh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 91748b102..751d7799c 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -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( diff --git a/dvc/command/repro.py b/dvc/command/repro.py index 707657139..f07043e76 100644 --- a/dvc/command/repro.py +++ b/dvc/command/repro.py @@ -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) diff --git a/dvc/command/status.py b/dvc/command/status.py index 8a9c94540..83be3a1a8 100644 --- a/dvc/command/status.py +++ b/dvc/command/status.py @@ -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 += ":" diff --git a/scripts/completion/dvc.zsh b/scripts/completion/dvc.zsh index 1a8669d8e..d4f8411b3 100644 --- a/scripts/completion/dvc.zsh +++ b/scripts/completion/dvc.zsh @@ -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.]"