aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/create.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-10-29 16:22:48 +0100
committerBaptiste Fontaine2015-10-30 10:11:04 +0100
commit2ef51381c98d11936aa3db15912a71c2eef825e6 (patch)
treef2421081c5c4789ada929b76ef6c61fa1acfc6e8 /Library/Homebrew/cmd/create.rb
parent18bda1c9b18f53879263a7893f5359ba96b75bff (diff)
downloadbrew-2ef51381c98d11936aa3db15912a71c2eef825e6.tar.bz2
create: deprecate --macports and --fink
Closes Homebrew/homebrew#45465. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew/cmd/create.rb')
-rw-r--r--Library/Homebrew/cmd/create.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index e98686c5c..2bdcd19b8 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -8,8 +8,10 @@ module Homebrew
def create
# Allow searching MacPorts or Fink.
if ARGV.include? "--macports"
+ opoo "`brew create --macports` is deprecated; use `brew search --macports` instead"
exec_browser "https://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
elsif ARGV.include? "--fink"
+ opoo "`brew create --fink` is deprecated; use `brew search --fink` instead"
exec_browser "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
end