{
  "name": "pkg-config",
  "description": "Return metainformation about installed libraries",
  "options": [
    {
      "names": [
        "--mod-version"
      ],
      "description": "Display the version information of the libraries specified on the command line"
    },
    {
      "names": [
        "--version"
      ],
      "description": "Display the version of pkg-config and terminates"
    },
    {
      "names": [
        "--atleast-pkgconfig-version"
      ],
      "description": "Require at least the given version of pkg-config",
      "takes_arg": true,
      "arg": {
        "name": "version"
      }
    },
    {
      "names": [
        "--help"
      ],
      "description": "Displays a help message and terminates"
    },
    {
      "names": [
        "--print-errors"
      ],
      "description": "Print errors if modules cannot be found or if an error occurs in parsing a .pc file"
    },
    {
      "names": [
        "--short-errors"
      ],
      "description": "Print short error messages"
    },
    {
      "names": [
        "--silence-errors"
      ],
      "description": "Print errors if modules cannot be found or if an error occurs in parsing a .pc file"
    },
    {
      "names": [
        "--errors-to-stdout"
      ],
      "description": "If printing errors, print them to stdout rather than the default stderr"
    },
    {
      "names": [
        "--debug"
      ],
      "description": "Print debugging information"
    },
    {
      "names": [
        "--cflags"
      ],
      "description": "Print pre-processor and compile flags required to compile the packages on the command line"
    },
    {
      "names": [
        "--cflags-only-I"
      ],
      "description": "Print parts of \"--cflags\" that define the header search path"
    },
    {
      "names": [
        "--cflags-only-other"
      ],
      "description": "Print parts of \"--cflags\" not covered by \"--cflags-only-I\""
    },
    {
      "names": [
        "--libs"
      ],
      "description": "Print link flags required to compile the packages on the command line"
    },
    {
      "names": [
        "--libs-only-L"
      ],
      "description": "Print parts of \"-libs\" that define library search path"
    },
    {
      "names": [
        "--libs-only-l"
      ],
      "description": "Print parts of \"-libs\" that specify which libraries to link to"
    },
    {
      "names": [
        "--libs-only-other"
      ],
      "description": "Print parts of \"-libs\" not covered by \"--libs-only-L\" and \"--libs-only-l\""
    },
    {
      "names": [
        "--variable"
      ],
      "description": "Return the value of a variable defined in a package's .pc file",
      "takes_arg": true,
      "arg": {
        "name": "variable-name"
      }
    },
    {
      "names": [
        "--define-variable"
      ],
      "description": "Set a global value for a variable, overriding the value in any .pc files",
      "takes_arg": true,
      "arg": {
        "name": "variable"
      }
    },
    {
      "names": [
        "--print-variables"
      ],
      "description": "Return a list of all variables defined in the package"
    },
    {
      "names": [
        "--uninstalled"
      ],
      "description": "Return successfully if any \"-uninstalled\" packages are being used, and return failure otherwise"
    },
    {
      "names": [
        "--exists"
      ],
      "description": "Test whether the packages on the command line exist"
    },
    {
      "names": [
        "--atleast-version"
      ],
      "description": "Test whether the packages on the command line exist and are at least the specified version",
      "takes_arg": true,
      "arg": {
        "name": "version"
      }
    },
    {
      "names": [
        "--exact-version"
      ],
      "description": "Test whether the packages on the command line exist and are exactly the specified version",
      "takes_arg": true,
      "arg": {
        "name": "version"
      }
    },
    {
      "names": [
        "--max-version"
      ],
      "description": "Test whether the packages on the command line exist and are at most the specified version",
      "takes_arg": true,
      "arg": {
        "name": "version"
      }
    },
    {
      "names": [
        "--validate"
      ],
      "description": "Check the syntax of a package's .pc file for validity"
    },
    {
      "names": [
        "--msvc-syntax"
      ],
      "description": "Output -l and -L flags in the form recognized by the Microsoft Visual C++ command-line compiler"
    },
    {
      "names": [
        "--define-prefix"
      ],
      "description": "Use the installed location of the .pc file to determine the prefix"
    },
    {
      "names": [
        "--dont-define-prefix"
      ],
      "description": "Use the specified prefix variable value defined in the .pc file as the prefix"
    },
    {
      "names": [
        "--prefix-variable"
      ],
      "description": "Set the name of the variable to be overridden instead of prefix when using --define-prefix",
      "takes_arg": true,
      "arg": {
        "name": "variable-name"
      }
    },
    {
      "names": [
        "--static"
      ],
      "description": "Output libraries suitable for static linking"
    },
    {
      "names": [
        "--list-all"
      ],
      "description": "List all modules found in the pkg-config path"
    },
    {
      "names": [
        "--print-provides"
      ],
      "description": "List all modules the given packages provides"
    },
    {
      "names": [
        "--print-requires"
      ],
      "description": "List all modules the given packages requires"
    },
    {
      "names": [
        "--print-requires-private"
      ],
      "description": "List all modules the given packages requires for static linking"
    }
  ],
  "args": [
    {
      "name": "libraries...",
      "is_variadic": true
    }
  ]
}
