diff --git a/lib/Cake/Console/Shell.php b/lib/Cake/Console/Shell.php index f683dd259..e4ce01f3c 100644 --- a/lib/Cake/Console/Shell.php +++ b/lib/Cake/Console/Shell.php @@ -431,6 +431,7 @@ class Shell extends CakeObject { try { list($this->params, $this->args) = $this->OptionParser->parse($argv, $command); } catch (ConsoleException $e) { + $this->err(__d('cake_console', 'Error: %s', $e->getMessage())); $this->out($this->OptionParser->help($command)); return false; }