.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH alpm-pkginfo-validate 1 "alpm-pkginfo-validate " .SH NAME alpm\-pkginfo\-validate \- Validate a PKGINFO file .SH SYNOPSIS \fBalpm\-pkginfo validate\fR [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] .SH DESCRIPTION Validate a PKGINFO file .PP Validate a PKGINFO file according to a schema. 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 code. .SH OPTIONS .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.