aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2012-04-30 16:22:34 +1000
committerMike McQuaid2012-04-30 21:38:14 +0800
commit9d81b0d84765732f81a62fc2bf637d08ccc206f2 (patch)
treea8a1eaa8d52e857720deea31dbb26ae8eaba1d3b /Library/Homebrew
parentfe969c21ad199ae27a113e9fb2f01c5bb3fbc942 (diff)
downloadbrew-9d81b0d84765732f81a62fc2bf637d08ccc206f2.tar.bz2
Improve Formula.resolve_alias warning.
Diffstat (limited to 'Library/Homebrew')
-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?("/")