Fix info/options for new options dsl
This commit is contained in:
parent
60bdb16a7c
commit
e196c845bf
@ -90,7 +90,7 @@ module Homebrew extend self
|
|||||||
history = github_info(f)
|
history = github_info(f)
|
||||||
puts history if history
|
puts history if history
|
||||||
|
|
||||||
unless f.options.empty?
|
unless f.build.empty?
|
||||||
require 'cmd/options'
|
require 'cmd/options'
|
||||||
ohai "Options"
|
ohai "Options"
|
||||||
Homebrew.dump_options_for_formula f
|
Homebrew.dump_options_for_formula f
|
||||||
|
@ -31,7 +31,7 @@ module Homebrew extend self
|
|||||||
end
|
end
|
||||||
|
|
||||||
def dump_options_for_formula f
|
def dump_options_for_formula f
|
||||||
f.options.each do |k,v|
|
f.build.each do |k,v|
|
||||||
puts k
|
puts k
|
||||||
puts "\t"+v
|
puts "\t"+v
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user