bottle: use --root-url instead of --root_url
This commit is contained in:
parent
85f9883329
commit
8581330d3a
@ -177,7 +177,9 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
root_url = ARGV.value("root_url")
|
root_url = ARGV.value("root-url")
|
||||||
|
# Use underscored version for legacy reasons. Remove at some point.
|
||||||
|
root_url ||= ARGV.value("root_url")
|
||||||
|
|
||||||
bottle = BottleSpecification.new
|
bottle = BottleSpecification.new
|
||||||
bottle.root_url(root_url) if root_url
|
bottle.root_url(root_url) if root_url
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user