From 32676eda34a230ade4f825012bf90e00b678e7c4 Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Wed, 20 May 2020 18:09:53 +0545 Subject: [PATCH 1/2] repro: fix help message for default target --- dvc/command/repro.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc/command/repro.py b/dvc/command/repro.py index d5dc524821..2768c9864c 100644 --- a/dvc/command/repro.py +++ b/dvc/command/repro.py @@ -5,6 +5,7 @@ from dvc.command.base import CmdBase, append_doc_link from dvc.command.metrics import show_metrics from dvc.command.status import CmdDataStatus +from dvc.dvcfile import PIPELINE_FILE from dvc.exceptions import DvcException logger = logging.getLogger(__name__) @@ -69,7 +70,7 @@ def add_parser(subparsers, parent_parser): repro_parser.add_argument( "targets", nargs="*", - help="DVC-file to reproduce. 'Dvcfile' by default.", + help=f"Stages to reproduce. '{PIPELINE_FILE}' by default." ) repro_parser.add_argument( "-f", From 4b45e3d141e481d336dd064583f4588709138c60 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 20 May 2020 12:32:32 +0000 Subject: [PATCH 2/2] Restyled by black --- dvc/command/repro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/command/repro.py b/dvc/command/repro.py index 2768c9864c..810b37db49 100644 --- a/dvc/command/repro.py +++ b/dvc/command/repro.py @@ -70,7 +70,7 @@ def add_parser(subparsers, parent_parser): repro_parser.add_argument( "targets", nargs="*", - help=f"Stages to reproduce. '{PIPELINE_FILE}' by default." + help=f"Stages to reproduce. '{PIPELINE_FILE}' by default.", ) repro_parser.add_argument( "-f",