options: Don't add "--" to options that have it

This commit is contained in:
Misty De Meo 2012-08-11 13:59:57 -05:00
parent 5c79d5884a
commit 5882ae901f

View File

@ -32,7 +32,8 @@ module Homebrew extend self
def dump_options_for_formula f
f.build.each do |k,v|
puts "--"+k
k.prepend "--" unless k.start_with? "--"
puts k
puts "\t"+v
end
end