From 59409be7ab95bc5f16b33e8eb583fece29093ea0 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Sun, 12 Jul 2020 16:52:02 -0700 Subject: [PATCH] pull: target message (#4192) * pull: target message * update fetch/status/etc help Co-authored-by: Ruslan Kuprieiev --- dvc/command/checkout.py | 6 ++++-- dvc/command/data_sync.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dvc/command/checkout.py b/dvc/command/checkout.py index ecc750e62..3752342e1 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 3701c59d9..5b931177e 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -103,8 +103,10 @@ 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 tracked files/directories, " + ".dvc files, or stage names." + ), ).complete = completion.DVC_FILE return parent_parser