diff options
| author | Adam Vandenberg | 2014-05-18 15:33:31 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-18 15:33:43 -0700 |
| commit | 46422a6e5207ba57a0023e74d0011982cf34d3d6 (patch) | |
| tree | 718be66895330479c69da2b247eef42f053f5bbc /share/man | |
| parent | 606deab3339802722c9275098f2589b5bfafe9da (diff) | |
| download | homebrew-46422a6e5207ba57a0023e74d0011982cf34d3d6.tar.bz2 | |
always use a top-level array for info JSON
Closes #29318.
Diffstat (limited to 'share/man')
| -rw-r--r-- | share/man/man1/brew.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 9c8aeffa1..41ef8d326 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -177,14 +177,14 @@ Open a browser to the GitHub History page for formula \fIformula\fR\. To view formula history locally: \fBbrew log \-p <formula>\fR\. . .TP -\fBinfo \-\-json=<version>\fR (\-\-all|\-\-installed|\fIformula\fR) -Print a JSON representation of \fIformula\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\. +\fBinfo \-\-json=<version>\fR (\-\-all|\-\-installed|\fIformulae\fR) +Print a JSON representation of \fIformulae\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\. . .IP Pass \fB\-\-all\fR to get information on all formulae, or \fB\-\-installed\fR to get information on all installed formulae\. . .IP -If a single formula is specified, a single JSON object is displayed\. If multiple formulae are specified, or \fB\-\-installed\fR or \fB\-\-all\fR 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: \fIhttps://github\.com/Homebrew/homebrew/wiki/Querying\-Brew\fR . .TP \fBinstall [\-\-debug] [\-\-env=<std|super>] [\-\-ignore\-dependencies] [\-\-only\-dependencies] [\-\-cc=<compiler>] [\-\-build\-from\-source] [\-\-devel|\-\-HEAD]\fR \fIformula\fR |
