aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-18 15:33:31 -0700
committerAdam Vandenberg2014-05-18 15:33:43 -0700
commit46422a6e5207ba57a0023e74d0011982cf34d3d6 (patch)
tree718be66895330479c69da2b247eef42f053f5bbc /Library/Contributions
parent606deab3339802722c9275098f2589b5bfafe9da (diff)
downloadhomebrew-46422a6e5207ba57a0023e74d0011982cf34d3d6.tar.bz2
always use a top-level array for info JSON
Closes #29318.
Diffstat (limited to 'Library/Contributions')
-rw-r--r--Library/Contributions/manpages/brew.1.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index 22d8dbf8f..f3b86747d 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -160,16 +160,15 @@ Note that these flags should only appear after a command.
To view formula history locally: `brew log -p <formula>`.
- * `info --json=<version>` (--all|--installed|<formula>):
- Print a JSON representation of <formula>. Currently the only accepted value
+ * `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.
- If a single formula is specified, a single JSON object is displayed.
- If multiple formulae are specified, or `--installed` or `--all` are used,
- a JSON array is displayed, even if the array would only contain one object.
+ See the wiki for examples of using the JSON:
+ <https://github.com/Homebrew/homebrew/wiki/Querying-Brew>
* `install [--debug] [--env=<std|super>] [--ignore-dependencies] [--only-dependencies] [--cc=<compiler>] [--build-from-source] [--devel|--HEAD]` <formula>:
Install <formula>.