From e2e5ce9b7629c45fb6d1080569e7b114c4ee66cf Mon Sep 17 00:00:00 2001 From: Alexander Kahn Date: Fri, 23 Apr 2010 15:34:45 -0400 Subject: [PATCH] Display a warning if the old --switch style CLI is used --- lib/compass/exec/helpers.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compass/exec/helpers.rb b/lib/compass/exec/helpers.rb index b10e2311..be77022c 100644 --- a/lib/compass/exec/helpers.rb +++ b/lib/compass/exec/helpers.rb @@ -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