diff options
| author | Jack Nagel | 2014-08-08 01:34:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-08 01:34:45 -0500 |
| commit | 049eca5524e3a6063d60ba717e5631f4ba6be2df (patch) | |
| tree | 40ca93b1618665f4d545b7c57f5a7ddbd544fccb /Library/Homebrew/formula.rb | |
| parent | 7676600dfe80a4f3c09edcedef109168cdc3178b (diff) | |
| download | homebrew-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.rb | 2 |
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 |
