Skip to content

Commit

Permalink
check-ignore: more output string updates
Browse files Browse the repository at this point in the history
per #4323 et al.
  • Loading branch information
jorgeorpinel committed Aug 7, 2020
1 parent 612dd94 commit 605ed25
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions dvc/command/check_ignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _interactive_mode(self):
target = ask("")
if target == "":
logger.info(
"Empty string is not a valid pathspec. Please use . "
"An empty string is not a valid path. Please use . "
"instead if you meant to match all paths."
)
break
Expand Down Expand Up @@ -101,27 +101,26 @@ def add_parser(subparsers, parent_parser):
help="Show the exclude pattern together with each target path.",
)
parser.add_argument(
"-n",
"--non-matching",
"-a",
"--all",
action="store_true",
default=False,
help="Show the target paths which don’t match any pattern. "
"Only usable when `--details` is also employed",
help="Include the target paths which don’t match any pattern "
"in the `--details` list.",
)
parser.add_argument(
"--stdin",
"-n",
"--non-matching",
action="store_true",
default=False,
help="Read pathnames from the standard input, one per line, "
"instead of from the command-line.",
help="Include the target paths which don’t match any pattern "
"in the `--details` list.",
)
parser.add_argument(
"-a",
"--all",
"--stdin",
action="store_true",
default=False,
help="Show all of the patterns match the target paths. "
"Only usable when `--details` is also employed",
help="Read paths from standard input instead of providing `targets`.",
)
parser.add_argument(
"targets", nargs="*", help="File or directory paths to check",
Expand Down

0 comments on commit 605ed25

Please sign in to comment.