From effd8f54fb7d30c77084cc77f3059e85c0a90cc4 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Fri, 10 Jul 2020 17:35:34 -0700 Subject: [PATCH 1/2] pull: target message --- dvc/command/data_sync.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 3701c59d97..0cc8547a90 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -103,8 +103,7 @@ def shared_parent_parser(): parent_parser.add_argument( "targets", nargs="*", - help="Limit command scope to these DVC-files. " - "Using -R, directories to search DVC-files in can also be given.", + help="Limit command scope to these files, directories or DVC-files. ", ).complete = completion.DVC_FILE return parent_parser From 2c8daf78a329f108ada3f855bfd5e99b274cfbc8 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 13 Jul 2020 02:09:02 +0300 Subject: [PATCH 2/2] update fetch/status/etc help --- dvc/command/checkout.py | 6 ++++-- dvc/command/data_sync.py | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dvc/command/checkout.py b/dvc/command/checkout.py index ecc750e62e..3752342e1d 100644 --- a/dvc/command/checkout.py +++ b/dvc/command/checkout.py @@ -112,7 +112,9 @@ def add_parser(subparsers, parent_parser): checkout_parser.add_argument( "targets", nargs="*", - help="DVC-files to checkout. Optional. " - "(Finds all DVC-files in the workspace by default.)", + help=( + "Limit command scope to these tracked files/directories, " + ".dvc files, or stage names." + ), ).complete = completion.DVC_FILE checkout_parser.set_defaults(func=CmdCheckout) diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index 0cc8547a90..5b931177ec 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -103,7 +103,10 @@ def shared_parent_parser(): parent_parser.add_argument( "targets", nargs="*", - help="Limit command scope to these files, directories or DVC-files. ", + help=( + "Limit command scope to these tracked files/directories, " + ".dvc files, or stage names." + ), ).complete = completion.DVC_FILE return parent_parser