diff options
Diffstat (limited to 'Library/Homebrew/cmd/search.rb')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 2fd558a5c..c15331cd7 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -1,3 +1,15 @@ +#: * `search`, `-S`: +#: Display all locally available formulae for brewing (including tapped ones). +#: No online search is performed if called without arguments. +#: +#: * `search`, `-S` <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. +#: The search for <text> is extended online to some popular taps. +#: +#: * `search` (`--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu`) <text>: +#: Search for <text> in the given package manager's list. + require "formula" require "blacklist" require "utils" |
