Skip to content

Commit

Permalink
Add --exclude and --verbose options
Browse files Browse the repository at this point in the history
  • Loading branch information
cblakkan committed Dec 28, 2024
1 parent e82f601 commit 6f13f44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions yamale/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def int_or_auto(num_cpu):
metavar="PATH",
default=["./"],
nargs="*",
help="Paths to validate, either directories or files. Default is the current directory.",
help="paths to validate, either directories or files. Default is the current directory.",
)
parser.add_argument("-s", "--schema", default="schema.yaml", help="filename of schema. Default is schema.yaml.")
parser.add_argument(
Expand All @@ -153,15 +153,15 @@ def int_or_auto(num_cpu):
"--cpu-num",
default=4,
type=int_or_auto,
help="Number of child processes to spawn for validation. Default is 4. 'auto' to use CPU count",
help="number of child processes to spawn for validation. Default is 4. 'auto' to use CPU count",
)
parser.add_argument(
"-x",
"--no-strict",
action="store_true",
help="Disable strict mode, unexpected elements in the data will be accepted.",
help="disable strict mode, unexpected elements in the data will be accepted.",
)
parser.add_argument("-v", "--verbose", action="store_true", help="Show verbose information")
parser.add_argument("-v", "--verbose", action="store_true", help="show verbose information")
parser.add_argument("-V", "--version", action="version", version=__version__)
args = parser.parse_args()
try:
Expand Down

0 comments on commit 6f13f44

Please sign in to comment.