From c7e986d65e21e81a27c01ee4393ef6b897b91c03 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Fri, 17 Jul 2015 11:31:54 -0700 Subject: [PATCH] use ohai headers at the top of search results Closes Homebrew/homebrew#41832. --- Library/Homebrew/cmd/install.rb | 4 ++-- Library/Homebrew/utils.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 2f41fa5b19..124fa0527e 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 85aef283ee..9c0737ff59 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")