Blob Blame History Raw
.TH ZCONFIG "1" "December 2022" "" "User Commands"
.SH NAME
.B zconfig
\(en
Script to check validity of a configuration file
.SH SYNOPSIS
.B zconfig
.RB [ \-h ]
.BI \-s\  FILE
.RI [ file \ ...]
.SH DESCRIPTION
Each file named on the command line
is checked for syntactical errors
and schema conformance.
The schema must be specified.
If no files are specified
and standard input is not a TTY,
standard in is treated as a configuration file.
Specifying a schema and no configuration files
causes the schema to be checked.
.SH OPTIONS
.SS "POSITIONAL ARGUMENTS"
.TP
.I file
Optional configuration file to check
.SS "OPTIONAL ARGUMENTS"
.TP
.B \-h\fR, \fB\-\-help
Show a help message and exit.
.TP
.B \-s\ \fIFILE\fR, \fB\-\-schema\ \fIFILE
Use the schema in
.I FILE
(can be a URL).
.SH "SEE ALSO"
.BR zconfig_schema2html (1)