Display a warning if the old --switch style CLI is used

This commit is contained in:
Alexander Kahn 2010-04-23 15:34:45 -04:00
parent bfed16a63b
commit e2e5ce9b76

View File

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