manpage: add tap-info

This commit is contained in:
Xu Cheng 2015-06-08 19:17:29 +08:00
parent 787934ed6f
commit d8876a9da4
2 changed files with 26 additions and 0 deletions

View File

@ -355,6 +355,18 @@ Note that these flags should only appear after a command.
* `tap --repair`: * `tap --repair`:
Migrate tapped formulae from symlink-based to directory-based structure. Migrate tapped formulae from symlink-based to directory-based structure.
* `tap-info` <tap>:
Display information about <tap>.
* `tap-info --json=<version>` (--installed|<taps>):
Print a JSON representation of <taps>. Currently the only accepted value
for <version> is `v1`.
Pass `--installed` to get information on installed taps.
See the docs for examples of using the JSON:
<https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying-Brew.md>
* `test` [--devel|--HEAD] [--debug] <formula>: * `test` [--devel|--HEAD] [--debug] <formula>:
A few formulae provide a test method. `brew test <formula>` runs this A few formulae provide a test method. `brew test <formula>` runs this
test method. There is no standard output or return code, but it should test method. There is no standard output or return code, but it should

View File

@ -383,6 +383,20 @@ If \fB\-\-full\fR is passed, a full clone will be used\.
Migrate tapped formulae from symlink\-based to directory\-based structure\. Migrate tapped formulae from symlink\-based to directory\-based structure\.
. .
.TP .TP
\fBtap\-info\fR \fItap\fR
Display information about \fItap\fR\.
.
.TP
\fBtap\-info \-\-json=<version>\fR (\-\-installed|\fItaps\fR)
Print a JSON representation of \fItaps\fR\. Currently the only accepted value for \fIversion\fR is \fBv1\fR\.
.
.IP
Pass \fB\-\-installed\fR to get information on installed taps\.
.
.IP
See the docs for examples of using the JSON: \fIhttps://github\.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Querying\-Brew\.md\fR
.
.TP
\fBtest\fR [\-\-devel|\-\-HEAD] [\-\-debug] \fIformula\fR \fBtest\fR [\-\-devel|\-\-HEAD] [\-\-debug] \fIformula\fR
A few formulae provide a test method\. \fBbrew test <formula>\fR runs this test method\. There is no standard output or return code, but it should generally indicate to the user if something is wrong with the installed formula\. A few formulae provide a test method\. \fBbrew test <formula>\fR runs this test method\. There is no standard output or return code, but it should generally indicate to the user if something is wrong with the installed formula\.
. .