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,18 +58,15 @@ module Homebrew extend self
|
|||||||
print "#{keg} (#{keg.abv})"
|
print "#{keg} (#{keg.abv})"
|
||||||
print " *" if f.installed_prefix == keg and kegs.length > 1
|
print " *" if f.installed_prefix == keg and kegs.length > 1
|
||||||
puts
|
puts
|
||||||
|
tab = Tab.for_keg keg
|
||||||
|
unless tab.used_options.empty?
|
||||||
|
puts " Installed with: #{tab.used_options*', '}"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Not installed"
|
puts "Not installed"
|
||||||
end
|
end
|
||||||
|
|
||||||
if f.installed?
|
|
||||||
tab = Tab.for_formula f
|
|
||||||
unless tab.used_options.empty?
|
|
||||||
puts "Installed with: #{tab.used_options*', '}"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
the_caveats = (f.caveats || "").strip
|
the_caveats = (f.caveats || "").strip
|
||||||
unless the_caveats.empty?
|
unless the_caveats.empty?
|
||||||
puts
|
puts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user