diff options
| author | Jack Nagel | 2014-08-07 00:48:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-07 00:48:13 -0500 |
| commit | 0fb07a140296dfd74021622d2f0793ad7bf409aa (patch) | |
| tree | 64cf08b0911bde06e15ecd325675ca85fdbb49ce /Library/Homebrew | |
| parent | bfda0a841278b288166362172bdecc6acfa740cd (diff) | |
| download | homebrew-0fb07a140296dfd74021622d2f0793ad7bf409aa.tar.bz2 | |
Remove default argument
This method is called in two places, always with two arguments.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/build_options.rb | 2 |
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" |
