Skip to content

Commit

Permalink
check_ignore: update help output
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel committed Aug 7, 2020
1 parent dea1950 commit 612dd94
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dvc/command/check_ignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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)

0 comments on commit 612dd94

Please sign in to comment.