From a4a8f209fda75b9ff03429d2c9e6307c7e61570c Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 4 Nov 2024 09:31:47 -0400 Subject: [PATCH] Better document `--extension`/`--ignore` for `validate` (#186) See: https://github.com/sourcemeta/jsonschema/issues/185 Signed-off-by: Juan Cruz Viotti --- docs/validate.markdown | 1 + src/main.cc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/validate.markdown b/docs/validate.markdown index 693a42d..0eabc0a 100644 --- a/docs/validate.markdown +++ b/docs/validate.markdown @@ -7,6 +7,7 @@ Validating ```sh jsonschema validate [--http/-h] [--verbose/-v] [--resolve/-r ...] [--benchmark/-b] + [--extension/-e ] [--ignore/-i ] ``` The most popular use case of JSON Schema is to validate JSON documents. The diff --git a/src/main.cc b/src/main.cc index a719d77..a11781d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -22,7 +22,8 @@ Global Options: Commands: validate [--http/-h] - [--benchmark/-b] + [--benchmark/-b] [--extension/-e ] + [--ignore/-i ] Validate one of more instances against the given schema.