aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/info.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index ffbc93038..7c512fa23 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -120,7 +120,8 @@ module Homebrew extend self
Homebrew.dump_options_for_formula f
end
- Caveats.print f
+ c = Caveats.new(f)
+ ohai 'Caveats', c.caveats unless c.empty?
rescue FormulaUnavailableError
# check for DIY installation