Merge commit 'akahn/master'

* commit 'akahn/master':
  Make old CLI deprecation warning red
  Display a warning if the old --switch style CLI is used
This commit is contained in:
Chris Eppstein 2010-04-27 01:04:36 -07:00
commit 56034e740d

View File

@ -5,6 +5,9 @@ module Compass::Exec
if Compass::Commands.command_exists? arguments.first if Compass::Commands.command_exists? arguments.first
SubCommandUI SubCommandUI
else else
Compass::Logger.new.red do
Haml::Util.haml_warn "WARNING: This interface is deprecated. Please use the new subcommand interface.\nSee `compass help` for more information.\n"
end
SwitchUI SwitchUI
end end
end end