diff options
| author | Joe Gallo | 2016-05-26 07:45:25 -0700 |
|---|---|---|
| committer | Martin Afanasjew | 2016-05-26 16:45:25 +0200 |
| commit | 132ada2b0ebb3751c0f8f42ca83bb257b55a50fd (patch) | |
| tree | b9123cb48575890d31f5393c9bb8647c0d67268c /Library | |
| parent | e517e2e41d2166d967a5ca8a71d4e178804a360c (diff) | |
| download | brew-132ada2b0ebb3751c0f8f42ca83bb257b55a50fd.tar.bz2 | |
Clarify brew search usage. (#270)
* Include --desc in brew search help text.
* Update brew search --desc text in README.
* Remove mention of alias in brew search help text to avoid any
confusion.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index c15331cd7..33aa8ae9f 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -1,12 +1,15 @@ -#: * `search`, `-S`: +#: * `search`: #: Display all locally available formulae for brewing (including tapped ones). #: No online search is performed if called without arguments. #: -#: * `search`, `-S` <text>|`/`<text>`/`: +#: * `search` [`--desc`] <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. #: +#: If `--desc` is passed, browse available packages matching <text> including a +#: description for each. +#: #: * `search` (`--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu`) <text>: #: Search for <text> in the given package manager's list. |
