Default description to the empty string in top-level option DSL
This commit is contained in:
parent
af804f7475
commit
392407c5f1
@ -661,7 +661,7 @@ class Formula
|
|||||||
specs.each { |spec| spec.depends_on(dep) }
|
specs.each { |spec| spec.depends_on(dep) }
|
||||||
end
|
end
|
||||||
|
|
||||||
def option name, description=nil
|
def option name, description=""
|
||||||
specs.each { |spec| spec.option(name, description) }
|
specs.each { |spec| spec.option(name, description) }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user