.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH alpm-srcinfo-validate 1 "alpm-srcinfo-validate " .SH NAME alpm\-srcinfo\-validate \- Validate a SRCINFO file from a path or `stdin` .SH SYNOPSIS \fBalpm\-srcinfo validate\fR [\fB\-s\fR|\fB\-\-schema\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] .SH DESCRIPTION Validate a SRCINFO file from a path or `stdin`. .PP If the file can be validated, the program exits with no output and a return code of 0. If the file can not be validated, an error is emitted on stderr and the program exits with a non\-zero exit status. .SH OPTIONS .TP \fB\-s\fR, \fB\-\-schema\fR \fI\fR Provide the SRCINFO schema version to use. If no schema version is provided, it will be deduced from the file itself. .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP [\fIFILE\fR] An optional input file path to read from If no file is specified, stdin is read from and expected to contain PKGINFO data to validate.