Skip to content

Commit

Permalink
Better document --extension/--ignore for validate (#186)
Browse files Browse the repository at this point in the history
See: #185
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Nov 4, 2024
1 parent 4c8f774 commit a4a8f20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/validate.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Validating
```sh
jsonschema validate <schema.json> <instance.json|.jsonl...> [--http/-h]
[--verbose/-v] [--resolve/-r <schemas-or-directories> ...] [--benchmark/-b]
[--extension/-e <extension>] [--ignore/-i <schemas-or-directories>]
```

The most popular use case of JSON Schema is to validate JSON documents. The
Expand Down
3 changes: 2 additions & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Global Options:
Commands:
validate <schema.json> <instance.json|.jsonl...> [--http/-h]
[--benchmark/-b]
[--benchmark/-b] [--extension/-e <extension>]
[--ignore/-i <schemas-or-directories>]
Validate one of more instances against the given schema.
Expand Down

0 comments on commit a4a8f20

Please sign in to comment.