From 049eca5524e3a6063d60ba717e5631f4ba6be2df Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 8 Aug 2014 01:34:45 -0500 Subject: Default description to the empty string in top-level option DSL --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 321599f06..cd4db3e6c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -661,7 +661,7 @@ class Formula specs.each { |spec| spec.depends_on(dep) } end - def option name, description=nil + def option name, description="" specs.each { |spec| spec.option(name, description) } end -- cgit v1.2.3