From 9d81b0d84765732f81a62fc2bf637d08ccc206f2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 30 Apr 2012 16:22:34 +1000 Subject: [PATCH] Improve Formula.resolve_alias warning. --- Library/Homebrew/compat/compatibility.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb index acb03a75fb..90fa4b633c 100644 --- a/Library/Homebrew/compat/compatibility.rb +++ b/Library/Homebrew/compat/compatibility.rb @@ -59,6 +59,7 @@ class Formula # in compatability because the naming is somewhat confusing def self.resolve_alias name opoo 'Formula.resolve_alias is deprecated and will eventually be removed' + opoo 'Use Formula.canonical_name instead.' # Don't resolve paths or URLs return name if name.include?("/")