diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/options.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index a8dfcc04a..bd0c6b93b 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -19,9 +19,9 @@ end module Homebrew extend self def options ff.each do |f| - next if f.options.empty? + next if f.build.empty? if ARGV.include? '--compact' - puts f.options.collect {|o| o[0]} * " " + puts f.build.collect {|k,v| k} * " " else puts f.name if ff.length > 1 dump_options_for_formula f @@ -31,9 +31,9 @@ module Homebrew extend self end def dump_options_for_formula f - f.options.each do |o| - puts o[0] - puts "\t"+o[1] + f.options.each do |k,v| + puts k + puts "\t"+v end end end |
