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 " *" if f.installed_prefix == keg and kegs.length > 1
 | 
			
		||||
        puts
 | 
			
		||||
        tab = Tab.for_keg keg
 | 
			
		||||
        unless tab.used_options.empty?
 | 
			
		||||
          puts "  Installed with: #{tab.used_options*', '}"
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
    else
 | 
			
		||||
      puts "Not installed"
 | 
			
		||||
    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
 | 
			
		||||
    unless the_caveats.empty?
 | 
			
		||||
      puts
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user