aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-08-16 11:16:37 +0100
committerMike McQuaid2016-08-16 11:16:37 +0100
commit984ed836bd803e872a14cd32be5b0690a635274f (patch)
treedbb92bb693aaa5b82b78d6191527c1077821b5f8
parentdffd556220a726a9916773dc537662bf3eab656a (diff)
downloadbrew-984ed836bd803e872a14cd32be5b0690a635274f.tar.bz2
doctor: print check on --debug.
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index d54e8238a..f6d5d8d4c 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -18,7 +18,6 @@ module Homebrew
exit
end
-
if ARGV.named.empty?
slow_checks = %w[
check_for_broken_symlinks
@@ -33,6 +32,7 @@ module Homebrew
first_warning = true
methods.each do |method|
+ $stderr.puts "Checking #{method}" if ARGV.debug?
unless checks.respond_to?(method)
Homebrew.failed = true
puts "No check available by the name: #{method}"