Skip to content

Commit 612dd94

Browse files
committed
check_ignore: update help output
per #4282 (review) and #4282 (review)
1 parent dea1950 commit 612dd94

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

dvc/command/check_ignore.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ def run(self):
8282

8383

8484
def add_parser(subparsers, parent_parser):
85-
ADD_HELP = "Debug DVC ignore/exclude files"
85+
ADD_HELP = (
86+
"Check whether files or directories are excluded due to `.dvcignore`."
87+
)
8688

8789
parser = subparsers.add_parser(
8890
"check-ignore",
@@ -122,9 +124,6 @@ def add_parser(subparsers, parent_parser):
122124
"Only usable when `--details` is also employed",
123125
)
124126
parser.add_argument(
125-
"targets",
126-
nargs="*",
127-
help="Exact or wildcard paths of files or directories to check "
128-
"ignore patterns.",
127+
"targets", nargs="*", help="File or directory paths to check",
129128
).complete = completion.FILE
130129
parser.set_defaults(func=CmdCheckIgnore)

0 commit comments

Comments
 (0)