diff --git a/cake/console/console_option_parser.php b/cake/console/console_option_parser.php index 9edc735f6..3154514ca 100644 --- a/cake/console/console_option_parser.php +++ b/cake/console/console_option_parser.php @@ -239,7 +239,8 @@ class ConsoleOptionParser { 'name' => $name, 'help' => '', 'index' => count($this->_args), - 'required' => false + 'required' => false, + 'choices' => array() ); $options = array_merge($defaults, $params); $index = $options['index'];