aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-08 01:34:45 -0500
committerJack Nagel2014-08-08 01:34:45 -0500
commit392407c5f1d3179d8474cb5f3ffc7fd873428cc6 (patch)
tree342ac27be4eac1f7837328f6a4bfa2a4a478a774 /Library
parentaf804f74759c44f220b4d88b1c0b27218f33110e (diff)
downloadbrew-392407c5f1d3179d8474cb5f3ffc7fd873428cc6.tar.bz2
Default description to the empty string in top-level option DSL
Diffstat (limited to 'Library')
-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