docs/querying-brew: point to brew info --help.

This commit is contained in:
Mike McQuaid 2019-01-30 21:35:50 +00:00
parent 2446aea729
commit 901d738ce1
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -12,16 +12,7 @@ To enable users to do rich queries without the problems above, Homebrew provides
## `brew info --json`
`brew info` outputs JSON-formatted information about formulae. This JSON can then be parsed using your tools of choice.
From the manpage:
* `info --json=<version> (--all|--installed|<formulae>)`:
Print a JSON representation of `<formulae>`. Currently the only accepted value
for `<version>` is `v1`.
Pass `--all` to get information on all formulae, or `--installed` to get
information on all installed formulae.
`brew info` outputs JSON-formatted information about formulae. This JSON can then be parsed using your tools of choice. See more details in `brew info --help`.
The current schema version is `v1`. Note that fields may be added to the schema as needed without incrementing the schema. Any significant breaking changes will cause a change to the schema version.