aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-04-30 16:22:34 +1000
committerMike McQuaid2012-04-30 21:38:14 +0800
commit7e744df63d23111a4f9bbf2f24be5b3461083077 (patch)
treebbc1889e25f218e182b9e3bc4f220daacee51fa4 /Library
parent34c970b103f2dc725a02577dabcb4999fd4a32a0 (diff)
downloadhomebrew-7e744df63d23111a4f9bbf2f24be5b3461083077.tar.bz2
Improve Formula.resolve_alias warning.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/compat/compatibility.rb1
1 files changed, 1 insertions, 0 deletions
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?("/")