aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-09 20:50:01 -0800
committerAdam Vandenberg2011-03-12 11:55:08 -0800
commit5a30768377e97dd6d98f991edbb4ebee5de62e23 (patch)
tree1f2b884728bac5d95e073c623e3f32bde284bb3d /Library
parentafa5d95bb4cc616abc3132038a18392100a1ab91 (diff)
downloadbrew-5a30768377e97dd6d98f991edbb4ebee5de62e23.tar.bz2
Fix 'brew search' with no parameter.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index 19e52f0bb..b4611c0cd 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -12,7 +12,7 @@ module Homebrew extend self
search_results = search_brews query
puts_columns search_results
- if $stdout.tty? and msg = blacklisted?(query)
+ if not query.to_s.empty? and $stdout.tty? and msg = blacklisted?(query)
unless search_results.empty?
puts
puts "If you meant `#{query}' precisely:"