Fix populate command option

This commit is contained in:
Tim Nagel 2014-02-21 08:58:43 +11:00
parent b7d664c665
commit 6f8b3a5a0f

View file

@ -67,7 +67,7 @@ class PopulateCommand extends ContainerAwareCommand
{
$index = $input->getOption('index');
$type = $input->getOption('type');
$reset = !$input->hasOption('no-reset');
$reset = !$input->getOption('no-reset');
$options = $input->getOptions();
$options['ignore-errors'] = $input->hasOption('ignore-errors');