aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Dunn2015-07-17 11:31:54 -0700
committerAlex Dunn2015-07-17 18:33:34 -0700
commitc7e986d65e21e81a27c01ee4393ef6b897b91c03 (patch)
tree6ac821ee0f4a6d5f3474f5de7f7cd0dc0ddb11b0
parentc6fd7833beda10d7b22042aa54c51b01ab76f0df (diff)
downloadbrew-c7e986d65e21e81a27c01ee4393ef6b897b91c03.tar.bz2
use ohai headers at the top of search results
Closes Homebrew/homebrew#41832.
-rw-r--r--Library/Homebrew/cmd/install.rb4
-rw-r--r--Library/Homebrew/utils.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 2f41fa5b1..124fa0527 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -87,9 +87,9 @@ module Homebrew
else
ofail e.message
query = query_regexp(e.name)
- puts "Searching formulae..."
+ ohai "Searching formulae..."
puts_columns(search_formulae(query))
- puts "Searching taps..."
+ ohai "Searching taps..."
puts_columns(search_taps(query))
# If they haven't updated in 48 hours (172800 seconds), that
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 85aef283e..9c0737ff5 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -433,7 +433,7 @@ module GitHub extend self
def print_pull_requests_matching(query)
return [] if ENV['HOMEBREW_NO_GITHUB_API']
- puts "Searching pull requests..."
+ ohai "Searching pull requests..."
open_or_closed_prs = issues_matching(query, :type => "pr")