From 7efaf2431b9c1a96f6ed2e28626aff4886efc749 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Nov 2020 14:07:46 +0100 Subject: Add validation to command line interface --- doc/serdi.1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/serdi.1 b/doc/serdi.1 index ce0b1ed4..888dab03 100644 --- a/doc/serdi.1 +++ b/doc/serdi.1 @@ -43,6 +43,14 @@ the URI of the file is automatically used as the base URI. This option can be used to override that, or to provide a base URI for input from stdin or a string. .Pp +.It Fl V +Validate inputs. +All necessary data, including schemas, must be passed as inputs. +Output will only be written if validation succeeds. +Combine with +.Fl o Ar empty +to suppress output and only show validation errors. +.Pp .It Fl a Write ASCII output. If this is enabled, all non-ASCII characters will be escaped, even if the output syntax allows them to be written in UTF-8. -- cgit v1.2.1