Adding missing default value.

This commit is contained in:
mark_story 2010-10-10 15:49:01 -04:00
parent ed0476861e
commit b398877887

View file

@ -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'];