Merge pull request #480 from XWB/populate-command-hotfix

Fixed bug made in #479
This commit is contained in:
Tim Nagel 2014-02-19 23:02:13 +11:00
commit b7d664c665

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->hasOption('no-reset');
$options = $input->getOptions();
$options['ignore-errors'] = $input->hasOption('ignore-errors');