diff options
| author | Xu Cheng | 2015-06-08 19:17:29 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-06-11 15:28:30 +0800 |
| commit | d8876a9da4cff0843e65bcbfba1b268235e7e2b6 (patch) | |
| tree | 251519e2c6fefb9ab4814b130f5b30e6336faff4 | |
| parent | 787934ed6fcf1f0b7a6240f8daf6d8908cf09650 (diff) | |
| download | brew-d8876a9da4cff0843e65bcbfba1b268235e7e2b6.tar.bz2 | |
manpage: add tap-info
| -rw-r--r-- | Library/Homebrew/manpages/brew.1.md | 12 | ||||
| -rw-r--r-- | share/man/man1/brew.1 | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 998e277ff..a77f0f7e8 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -355,6 +355,18 @@ Note that these flags should only appear after a command. * `tap --repair`: 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>: 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 diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index 7816904ab..305a41d20 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -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\. . .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 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\. . |
