Fix translation of option keys for the Provider

This commit is contained in:
Tim Nagel 2015-03-14 19:54:23 +11:00
parent 9c1c771799
commit ac98549eb5

View file

@ -90,8 +90,12 @@ class PopulateCommand extends ContainerAwareCommand
$index = $input->getOption('index');
$type = $input->getOption('type');
$reset = !$input->getOption('no-reset');
$options = $input->getOptions();
$options['ignore-errors'] = $input->getOption('ignore-errors');
$options = array(
'batch_size' => $input->getOption('batch-size'),
'ignore_errors' => $input->getOption('ignore-errors'),
'offset' => $input->getOption('offset'),
'sleep' => $input->getOption('sleep')
);
if ($input->isInteractive() && $reset && $input->getOption('offset')) {
/** @var DialogHelper $dialog */