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 /Library/Contributions | |
| 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 'Library/Contributions')
| -rw-r--r-- | Library/Contributions/manpages/brew.1.md | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md index 723d945a0..0e3c11584 100644 --- a/Library/Contributions/manpages/brew.1.md +++ b/Library/Contributions/manpages/brew.1.md @@ -30,10 +30,11 @@ Note that these flags should only appear after a command. * `list`: List all installed formulae. - * `search`, `-S` <text>|/<text>/: + * `search` <text>|/<text>/: Perform a substring search of formula names for <text>. If <text> is surrounded with slashes, then it is interpreted as a regular expression. - If no search term is given, all available formula are displayed. + The search for <text> is extended online to some popular taps. + If no search term is given, all locally available formulae are listed. ## COMMANDS @@ -272,10 +273,19 @@ Note that these flags should only appear after a command. If `--force` is passed, and there are multiple versions of <formula> installed, delete all installed versions. - * `search`, `-S` <text>|/<text>/: + * `search`, `-S`: + Display all locally available formulae for brewing (including tapped ones). + No online search is performed if called without arguments. + + * `search`, `-S` <tap>: + Display all formulae in a <tap>, even if not yet tapped. + <tap> is of the form <user>/<repo>, e.g. `brew search homebrew/dupes`. + + * `search`, `-S` [<tap>] <text>|/<text>/: Perform a substring search of formula names for <text>. If <text> is surrounded with slashes, then it is interpreted as a regular expression. - If no search term is given, all available formula are displayed. + The search for <text> is extended online to some popular taps. + If a <tap> is specified, the search is restricted to it. * `search --debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu` <text>: Search for <text> in the given package manager's list. |
