Fix translation of option keys for the Provider
This commit is contained in:
parent
9c1c771799
commit
ac98549eb5
|
@ -90,8 +90,12 @@ class PopulateCommand extends ContainerAwareCommand
|
||||||
$index = $input->getOption('index');
|
$index = $input->getOption('index');
|
||||||
$type = $input->getOption('type');
|
$type = $input->getOption('type');
|
||||||
$reset = !$input->getOption('no-reset');
|
$reset = !$input->getOption('no-reset');
|
||||||
$options = $input->getOptions();
|
$options = array(
|
||||||
$options['ignore-errors'] = $input->getOption('ignore-errors');
|
'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')) {
|
if ($input->isInteractive() && $reset && $input->getOption('offset')) {
|
||||||
/** @var DialogHelper $dialog */
|
/** @var DialogHelper $dialog */
|
||||||
|
|
Loading…
Reference in a new issue