brew list -v means verbose, not versions

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-09-01 13:28:30 -05:00
parent e0cff10be5
commit 8c55acacb4

View File

@ -8,7 +8,7 @@ module Homebrew extend self
# Things below use the CELLAR, which doesn't until the first formula is installed. # Things below use the CELLAR, which doesn't until the first formula is installed.
return unless HOMEBREW_CELLAR.exist? return unless HOMEBREW_CELLAR.exist?
if ARGV.flag? '--versions' if ARGV.include? '--versions'
list_versions list_versions
elsif ARGV.named.empty? elsif ARGV.named.empty?
ENV['CLICOLOR'] = nil ENV['CLICOLOR'] = nil