diff options
Diffstat (limited to 'Library/Homebrew/cmd/search.rb')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 71f5d3a8b..9574ba7d6 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -89,7 +89,7 @@ module Homebrew arg.include?(char) && !arg.start_with?("/") end end - if ARGV.any? && bad_regex + if !ARGV.empty? && bad_regex ohai "Did you mean to perform a regular expression search?" ohai "Surround your query with /slashes/ to search by regex." end |
