diff options
| author | Samuel John | 2013-01-29 23:34:55 +0100 |
|---|---|---|
| committer | Samuel John | 2013-09-03 11:52:34 +0200 |
| commit | cf8f4ccc7616bc7a1d22cab6dc399f2cbc99c47e (patch) | |
| tree | 67f077e765b766b1cd3f039745a0c037697f432a /share | |
| parent | 040bb3e7d15e5d453faec3e3071a74a5b5df8e3d (diff) | |
| download | homebrew-cf8f4ccc7616bc7a1d22cab6dc399f2cbc99c47e.tar.bz2 | |
brew search <user>/<repo> [substring]
For example `brew search homebrew/science` to get a list of all formulae
from that tap, even if not yet tapped.
`brew search <user>/<repo>/<substr>` or
`brew search <user>/<repo> <substr>` to grep for `<substr>`
inside of the tap `<user>/<repo>`.
Diffstat (limited to 'share')
| -rw-r--r-- | share/man/man1/brew.1 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1 index c5f1e00c5..94d8473b6 100644 --- a/share/man/man1/brew.1 +++ b/share/man/man1/brew.1 @@ -38,8 +38,8 @@ Fetch the newest version of Homebrew from GitHub using \fBgit\fR(1)\. List all installed formulae\. . .TP -\fBsearch\fR, \fB\-S\fR \fItext\fR|/\fItext\fR/ -Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. If no search term is given, all available formula are displayed\. +\fBsearch\fR \fItext\fR|/\fItext\fR/ +Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. The search for \fItext\fR is extended online to some popular taps\. If no search term is given, all locally available formulae are listed\. . .SH "COMMANDS" . @@ -298,8 +298,16 @@ Uninstall \fIformula\fR\. If \fB\-\-force\fR is passed, and there are multiple versions of \fIformula\fR installed, delete all installed versions\. . .TP -\fBsearch\fR, \fB\-S\fR \fItext\fR|/\fItext\fR/ -Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. If no search term is given, all available formula are displayed\. +\fBsearch\fR, \fB\-S\fR +Display all locally available formulae for brewing (including tapped ones)\. No online search is performed if called without arguments\. +. +.TP +\fBsearch\fR, \fB\-S\fR \fItap\fR +Display all formulae in a \fItap\fR, even if not yet tapped\. \fItap\fR is of the form \fIuser\fR/\fIrepo\fR, e\.g\. \fBbrew search homebrew/dupes\fR\. +. +.TP +\fBsearch\fR, \fB\-S\fR [\fItap\fR] \fItext\fR|/\fItext\fR/ +Perform a substring search of formula names for \fItext\fR\. If \fItext\fR is surrounded with slashes, then it is interpreted as a regular expression\. The search for \fItext\fR is extended online to some popular taps\. If a \fItap\fR is specified, the search is restricted to it\. . .TP \fBsearch \-\-debian\fR|\fB\-\-fedora\fR|\fB\-\-fink\fR|\fB\-\-macports\fR|\fB\-\-opensuse\fR|\fB\-\-ubuntu\fR \fItext\fR |
