Skip to content

Commit

Permalink
fix(main): replace ARGV with Homebrew.args
Browse files Browse the repository at this point in the history
  • Loading branch information
henry40408 committed Mar 16, 2020
1 parent be93b42 commit dd10458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/brew-rmtree.rb
Expand Up @@ -504,7 +504,7 @@ def main
abort `brew rmtree --help`
end

raise KegUnspecifiedError if ARGV.named.empty?
raise KegUnspecifiedError if Homebrew.args.no_named?

loop { case ARGV[0]
when '--quiet' then ARGV.shift; quiet = true
Expand Down

0 comments on commit dd10458

Please sign in to comment.