---
name: "alpm-db-desc-format"
section: "1"
platform: "linux"
package: "alpm-db"
version: "0.3.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/alpm-db-desc-format"
---

# alpm-db-desc-format(1)

Parse and output a DB desc file in a different format

## NAME

alpm-db-desc-format - Parse and output a DB desc file in a different format

## SYNOPSIS

**alpm-db-desc format** \[**-s**\|**--schema**\] \[**-o**\|**--output-format**\] \[**-p**\|**--pretty**\] \[**-h**\|**--help**\] \[*FILE*\]

## DESCRIPTION

Parse and output a DB desc file in a different format

## OPTIONS

- **-s**, **--schema** *\<VERSION\>*

  Provide the schema version to use.

  If not provided, the schema version will be detected from the file.

- **-o**, **--output-format** *\<OUTPUT\_FORMAT\>* \[default: json\]

  Provide the output format\

  *Possible values:*

  - •

    json: The JSON output format

- **-p**, **--pretty**

  Pretty-print the output

- **-h**, **--help**

  Print help (see a summary with '-h')

- \[*FILE*\]

  Provide the file to read
