From 612dd94e10858c7d73434f048ef2362ec9cc8b41 Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Fri, 7 Aug 2020 15:43:08 -0500 Subject: [PATCH] check_ignore: update help output per https://github.com/iterative/dvc/pull/4282#pullrequestreview-460270636 and https://github.com/iterative/dvc/pull/4282#pullrequestreview-460272287 --- dvc/command/check_ignore.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dvc/command/check_ignore.py b/dvc/command/check_ignore.py index e28f4f19b4..cc31238dfe 100644 --- a/dvc/command/check_ignore.py +++ b/dvc/command/check_ignore.py @@ -82,7 +82,9 @@ def run(self): def add_parser(subparsers, parent_parser): - ADD_HELP = "Debug DVC ignore/exclude files" + ADD_HELP = ( + "Check whether files or directories are excluded due to `.dvcignore`." + ) parser = subparsers.add_parser( "check-ignore", @@ -122,9 +124,6 @@ def add_parser(subparsers, parent_parser): "Only usable when `--details` is also employed", ) parser.add_argument( - "targets", - nargs="*", - help="Exact or wildcard paths of files or directories to check " - "ignore patterns.", + "targets", nargs="*", help="File or directory paths to check", ).complete = completion.FILE parser.set_defaults(func=CmdCheckIgnore)