From 132ada2b0ebb3751c0f8f42ca83bb257b55a50fd Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Thu, 26 May 2016 07:45:25 -0700 Subject: 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.--- Library/Homebrew/cmd/search.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Library') 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` |`/``/`: +#: * `search` [`--desc`] |`/``/`: #: Perform a substring search of formula names for . If is #: surrounded with slashes, then it is interpreted as a regular expression. #: The search for is extended online to some popular taps. #: +#: If `--desc` is passed, browse available packages matching including a +#: description for each. +#: #: * `search` (`--debian`|`--fedora`|`--fink`|`--macports`|`--opensuse`|`--ubuntu`) : #: Search for in the given package manager's list. -- cgit v1.2.3