From 423166cb0f17c5314038b20cb7d7a846490aef1a Mon Sep 17 00:00:00 2001 From: dberenbaum Date: Thu, 29 Sep 2022 17:34:34 -0400 Subject: [PATCH] cli: remove foreach-group from help text --- dvc/commands/checkout.py | 2 +- dvc/commands/commit.py | 2 +- dvc/commands/dag.py | 2 +- dvc/commands/data_sync.py | 2 +- dvc/commands/repro.py | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dvc/commands/checkout.py b/dvc/commands/checkout.py index b2822a1d7..7d323de78 100644 --- a/dvc/commands/checkout.py +++ b/dvc/commands/checkout.py @@ -110,7 +110,7 @@ def add_parser(subparsers, parent_parser): nargs="*", help=( "Limit command scope to these tracked files/directories, " - ".dvc files and stage or foreach-group names." + ".dvc files and stage names." ), ).complete = completion.DVC_FILE checkout_parser.set_defaults(func=CmdCheckout) diff --git a/dvc/commands/commit.py b/dvc/commands/commit.py index b7d856c0c..d1ccfe5f8 100644 --- a/dvc/commands/commit.py +++ b/dvc/commands/commit.py @@ -72,7 +72,7 @@ def add_parser(subparsers, parent_parser): nargs="*", help=( "Limit command scope to these tracked files/directories, " - ".dvc files and stage or foreach-group names." + ".dvc files and stage names." ), ).complete = completion.DVCFILES_AND_STAGE commit_parser.set_defaults(func=CmdCommit) diff --git a/dvc/commands/dag.py b/dvc/commands/dag.py index 5619c2383..e30974c32 100644 --- a/dvc/commands/dag.py +++ b/dvc/commands/dag.py @@ -204,7 +204,7 @@ def add_parser(subparsers, parent_parser): dag_parser.add_argument( "target", nargs="?", - help="Stage name, foreach-group name or output to show pipeline for. " + help="Stage name or output to show pipeline for. " "Finds all stages in the workspace by default.", ) dag_parser.set_defaults(func=CmdDAG) diff --git a/dvc/commands/data_sync.py b/dvc/commands/data_sync.py index 50d696722..4b3937a67 100644 --- a/dvc/commands/data_sync.py +++ b/dvc/commands/data_sync.py @@ -120,7 +120,7 @@ def shared_parent_parser(): nargs="*", help=( "Limit command scope to these tracked files/directories, " - ".dvc files and stage or foreach-group names." + ".dvc files and stage names." ), ).complete = completion.DVC_FILE diff --git a/dvc/commands/repro.py b/dvc/commands/repro.py index b5b280a7d..305dbe5c5 100644 --- a/dvc/commands/repro.py +++ b/dvc/commands/repro.py @@ -59,10 +59,10 @@ def add_arguments(repro_parser): """\ Stages to reproduce. 'dvc.yaml' by default. The targets can be path to a dvc.yaml file or `.dvc` file, -or a stage name or a foreach-group name from dvc.yaml file from -current working directory. To run a stage/foreach-group from dvc.yaml +or a stage name from dvc.yaml file from +current working directory. To run a stage from dvc.yaml from other directories, the target must be a path followed by colon `:` -and then the stage name or foreach-group name. +and then the stage name name. """ ), ).complete = completion.DVCFILES_AND_STAGE