aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJoe Gallo2016-05-26 07:45:25 -0700
committerMartin Afanasjew2016-05-26 16:45:25 +0200
commit132ada2b0ebb3751c0f8f42ca83bb257b55a50fd (patch)
treeb9123cb48575890d31f5393c9bb8647c0d67268c /Library
parente517e2e41d2166d967a5ca8a71d4e178804a360c (diff)
downloadbrew-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.rb7
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.