From 392407c5f1d3179d8474cb5f3ffc7fd873428cc6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 8 Aug 2014 01:34:45 -0500 Subject: [PATCH] Default description to the empty string in top-level option DSL --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 321599f06c..cd4db3e6cd 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