From 46422a6e5207ba57a0023e74d0011982cf34d3d6 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 18 May 2014 15:33:31 -0700 Subject: always use a top-level array for info JSON Closes #29318. --- share/man/man1/brew.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/man') 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 \fR\. . .TP -\fBinfo \-\-json=\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=\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=] [\-\-ignore\-dependencies] [\-\-only\-dependencies] [\-\-cc=] [\-\-build\-from\-source] [\-\-devel|\-\-HEAD]\fR \fIformula\fR -- cgit v1.2.3