From 7e744df63d23111a4f9bbf2f24be5b3461083077 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 30 Apr 2012 16:22:34 +1000 Subject: Improve Formula.resolve_alias warning. --- Library/Homebrew/compat/compatibility.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb index acb03a75f..90fa4b633 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?("/") -- cgit v1.2.3