versions: announce deprecation.

They break often so we should think, longer-term, about removing it
altogether but may as well give users fair warning before that point.

Closes Homebrew/homebrew#24220.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2013-11-12 17:32:05 +00:00
parent f42c7f1cc3
commit 1aba456888

View File

@ -7,6 +7,11 @@ module Homebrew extend self
raise FormulaUnspecifiedError if ARGV.named.empty? raise FormulaUnspecifiedError if ARGV.named.empty?
opoo <<-EOS.undent
brew-versions is unsupported and may be removed soon.
Please use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions
EOS
ARGV.formulae.all? do |f| ARGV.formulae.all? do |f|
if ARGV.include? '--compact' if ARGV.include? '--compact'
puts f.versions * " " puts f.versions * " "