diff options
Diffstat (limited to 'Library/Homebrew/options.rb')
| -rw-r--r-- | Library/Homebrew/options.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index d8783a9d6..a57dafb85 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -106,10 +106,10 @@ class Options when self then arg when Option then new << arg when Array - opts = arg.map do |arg| - case arg - when /^-[^-]+$/ then arg[1..-1].split(//) - else arg + opts = arg.map do |_arg| + case _arg + when /^-[^-]+$/ then _arg[1..-1].split(//) + else _arg end end.flatten new(opts.map { |o| Option.new(o) }) |
