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:
commit
56034e740d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user