args: avoid using remaining.
This commit is contained in:
parent
2bf990bb29
commit
4d9e117430
@ -146,7 +146,7 @@ module Homebrew
|
||||
def downcased_unique_named
|
||||
# Only lowercase names, not paths, bottle filenames or URLs
|
||||
arguments = if args_parsed
|
||||
remaining
|
||||
named
|
||||
else
|
||||
cmdline_args.reject { |arg| arg.start_with?("-") }
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user