From dfe1c4753178f0aa2b7b59c5d80b61f6afc34621 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 21 Jun 2014 06:49:12 -0700 Subject: [PATCH] deprecate brew-which Closes Homebrew/homebrew#30311. --- Library/Contributions/cmd/brew-which.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Library/Contributions/cmd/brew-which.rb b/Library/Contributions/cmd/brew-which.rb index 870ff67a52..4b3b28e0cf 100755 --- a/Library/Contributions/cmd/brew-which.rb +++ b/Library/Contributions/cmd/brew-which.rb @@ -2,6 +2,20 @@ require 'extend/pathname' module Homebrew def which_versions which_brews=nil + opoo <<-EOS.undent + brew-which is unsupported and may be removed soon. + + To see which versions are installed: + brew list --versions + + To query formula information see: + https://github.com/Homebrew/homebrew/wiki/Querying-Brew + + For other uses please send a message to the mailing list describing + your use of this command, so a suggestion can be recommended or + implemented. + EOS + brew_links = Array.new version_map = Hash.new