info: display used options for all installed kegs
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
dc1be896d8
commit
d2bf7b4e2c
@ -58,17 +58,14 @@ module Homebrew extend self
|
||||
print "#{keg} (#{keg.abv})"
|
||||
print " *" if f.installed_prefix == keg and kegs.length > 1
|
||||
puts
|
||||
end
|
||||
else
|
||||
puts "Not installed"
|
||||
end
|
||||
|
||||
if f.installed?
|
||||
tab = Tab.for_formula f
|
||||
tab = Tab.for_keg keg
|
||||
unless tab.used_options.empty?
|
||||
puts " Installed with: #{tab.used_options*', '}"
|
||||
end
|
||||
end
|
||||
else
|
||||
puts "Not installed"
|
||||
end
|
||||
|
||||
the_caveats = (f.caveats || "").strip
|
||||
unless the_caveats.empty?
|
||||
|
Loading…
x
Reference in New Issue
Block a user