.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH alpm-mtree-format 1 "alpm-mtree-format " .SH NAME alpm\-mtree\-format \- Read an MTREE file and return it in another file format .SH SYNOPSIS \fBalpm\-mtree format\fR [\fB\-o\fR|\fB\-\-output\-format\fR] [\fB\-p\fR|\fB\-\-pretty\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIFILE\fR] .SH DESCRIPTION Read an MTREE file and return it in another file format .PP Reads and validates an MTREE file according to a schema and outputs it in another file format (currently, only JSON is supported). If the file can be validated, the program exits with the data returned in another file format on stdout 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\-o\fR, \fB\-\-output\-format\fR=\fIOUTPUT_FORMAT\fR [default: Json] Provide the output format .br .br [\fIpossible values: \fRjson] .TP \fB\-p\fR, \fB\-\-pretty\fR Determines whether the output will be displayed in a pretty non\-minimized fashion. Only applies to formats that support pretty output, otherwise it\*(Aqs just ignored. .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP [\fIFILE\fR]