mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
docs/querying-brew: point to brew info --help
.
This commit is contained in:
parent
2446aea729
commit
901d738ce1
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user