Display a warning if the old --switch style CLI is used
This commit is contained in:
parent
bfed16a63b
commit
e2e5ce9b76
@ -5,6 +5,7 @@ module Compass::Exec
|
|||||||
if Compass::Commands.command_exists? arguments.first
|
if Compass::Commands.command_exists? arguments.first
|
||||||
SubCommandUI
|
SubCommandUI
|
||||||
else
|
else
|
||||||
|
Haml::Util.haml_warn "WARNING: This interface is deprecated. Please use the new subcommand interface.\nSee `compass help` for more information.\n"
|
||||||
SwitchUI
|
SwitchUI
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user