aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-08 01:34:45 -0500
committerJack Nagel2014-08-08 01:34:45 -0500
commit049eca5524e3a6063d60ba717e5631f4ba6be2df (patch)
tree40ca93b1618665f4d545b7c57f5a7ddbd544fccb /Library/Homebrew/formula.rb
parent7676600dfe80a4f3c09edcedef109168cdc3178b (diff)
downloadhomebrew-049eca5524e3a6063d60ba717e5631f4ba6be2df.tar.bz2
Default description to the empty string in top-level option DSL
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
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