diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/info.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 655cbdeea..46857d1d7 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -103,6 +103,13 @@ module Homebrew extend self print " *" if keg.linked? puts tab = Tab.for_keg keg + + # Intentionally print no message if this is nil because it's unknown. + case tab.poured_from_bottle + when true then puts "Poured from bottle" + when false then puts "Built from source" + end + unless tab.used_options.empty? puts " Installed with: #{tab.used_options*', '}" end |
