Homebrew/homebrew — pull request #26701 by mikemcquaid (2014-02-13 20:01:33+00:00)
Title: brew: check for --help and friends in more of ARGV

Let's check for e.g. --help anywhere in the ARGV array rather than just
the first value to avoid brew upgrade --help causing problems.

Closes #26675.