aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build_options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-07 00:48:13 -0500
committerJack Nagel2014-08-07 00:48:13 -0500
commit0fb07a140296dfd74021622d2f0793ad7bf409aa (patch)
tree64cf08b0911bde06e15ecd325675ca85fdbb49ce /Library/Homebrew/build_options.rb
parentbfda0a841278b288166362172bdecc6acfa740cd (diff)
downloadhomebrew-0fb07a140296dfd74021622d2f0793ad7bf409aa.tar.bz2
Remove default argument
This method is called in two places, always with two arguments.
Diffstat (limited to 'Library/Homebrew/build_options.rb')
-rw-r--r--Library/Homebrew/build_options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb
index 07f12ab11..88c5d079b 100644
--- a/Library/Homebrew/build_options.rb
+++ b/Library/Homebrew/build_options.rb
@@ -20,7 +20,7 @@ class BuildOptions
@args = other.args.dup
end
- def add name, description=nil
+ def add(name, description)
description ||= case name.to_s
when "universal" then "Build a universal binary"
when "32-bit" then "Build 32-bit only"