aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-06-21 06:49:12 -0700
committerAdam Vandenberg2014-06-21 06:49:12 -0700
commitdfe1c4753178f0aa2b7b59c5d80b61f6afc34621 (patch)
tree22f1285528a8fb0476329a5eb49a666d8748c9fb /Library
parent445dd80e44a73b5df89c9e9a9beb02fc95130315 (diff)
downloadbrew-dfe1c4753178f0aa2b7b59c5d80b61f6afc34621.tar.bz2
deprecate brew-which
Closes Homebrew/homebrew#30311.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-which.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-which.rb b/Library/Contributions/cmd/brew-which.rb
index 870ff67a5..4b3b28e0c 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