brew: remove duplicated logic

This is now handled by `bin/brew`
This commit is contained in:
Xu Cheng 2016-01-18 11:34:20 +08:00
parent 6b5b8757bf
commit f9b33e26e0

View File

@ -12,9 +12,6 @@ require "global"
if ARGV == %w[--version] || ARGV == %w[-v]
puts "Homebrew #{Homebrew.homebrew_version_string}"
exit 0
elsif ARGV.first == "-v"
# Shift the -v to the end of the parameter list
ARGV << ARGV.shift
end
if OS.mac? && MacOS.version < "10.6"