Fix info/options for new options dsl

This commit is contained in:
Adam Vandenberg 2012-08-09 09:24:07 -07:00
parent 60bdb16a7c
commit e196c845bf
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ module Homebrew extend self
history = github_info(f)
puts history if history
unless f.options.empty?
unless f.build.empty?
require 'cmd/options'
ohai "Options"
Homebrew.dump_options_for_formula f

View File

@ -31,7 +31,7 @@ module Homebrew extend self
end
def dump_options_for_formula f
f.options.each do |k,v|
f.build.each do |k,v|
puts k
puts "\t"+v
end