Skip to content

Commit ac98549

Browse files
committed
Fix translation of option keys for the Provider
1 parent 9c1c771 commit ac98549

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Command/PopulateCommand.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
9090
$index = $input->getOption('index');
9191
$type = $input->getOption('type');
9292
$reset = !$input->getOption('no-reset');
93-
$options = $input->getOptions();
94-
$options['ignore-errors'] = $input->getOption('ignore-errors');
93+
$options = array(
94+
'batch_size' => $input->getOption('batch-size'),
95+
'ignore_errors' => $input->getOption('ignore-errors'),
96+
'offset' => $input->getOption('offset'),
97+
'sleep' => $input->getOption('sleep')
98+
);
9599

96100
if ($input->isInteractive() && $reset && $input->getOption('offset')) {
97101
/** @var DialogHelper $dialog */

0 commit comments

Comments
 (0)