From b22da5a3d12c136926bfc2d767400d6d6c551fee Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 23 Oct 2010 00:36:40 -0400 Subject: [PATCH] Fixing missing parameter. --- cake/console/shells/shell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/console/shells/shell.php b/cake/console/shells/shell.php index cdecaeef0..3ec3823fb 100644 --- a/cake/console/shells/shell.php +++ b/cake/console/shells/shell.php @@ -339,7 +339,7 @@ class Shell extends Object { $this->command = $command; if (!empty($this->params['help'])) { - return $this->_displayHelp(); + return $this->_displayHelp($command); } if (($isTask || $isMethod || $isMain) && $command !== 'execute' ) { @@ -364,7 +364,7 @@ class Shell extends Object { * * @return void */ - protected function _displayHelp() { + protected function _displayHelp($command) { $format = 'text'; if (!empty($this->args[0]) && $this->args[0] == 'xml') { $format = 'xml';