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
commit34e1da09f6f2dd0da2b069622c644e17ed070d65 (patch)
tree1670adad9ea8b3229c8393c9a3cf01925c63f8e2 /Library
parent569ac4cca9b1876a739dfd1b073b4bea376f000e (diff)
downloadhomebrew-34e1da09f6f2dd0da2b069622c644e17ed070d65.tar.bz2
deprecate brew-which
Closes #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