aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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