options: Don't add "--" to options that have it
This commit is contained in:
parent
5c79d5884a
commit
5882ae901f
@ -32,7 +32,8 @@ module Homebrew extend self
|
|||||||
|
|
||||||
def dump_options_for_formula f
|
def dump_options_for_formula f
|
||||||
f.build.each do |k,v|
|
f.build.each do |k,v|
|
||||||
puts "--"+k
|
k.prepend "--" unless k.start_with? "--"
|
||||||
|
puts k
|
||||||
puts "\t"+v
|
puts "\t"+v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user