Skip to content

Commit

Permalink
Merge pull request #36 from henry40408/feature/use-new-named-api
Browse files Browse the repository at this point in the history
fix(main): replace ARGV with Homebrew.args
  • Loading branch information
beeftornado committed Mar 16, 2020
2 parents be93b42 + dd10458 commit 0d02a96
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 0d02a96

Please sign in to comment.