Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ -73,14 +73,14 @@ class Search extends Command {
null,
InputOption::VALUE_REQUIRED,
'The offset of the result set. Needs to be a multiple of limit. defaults to 0.',
0
'0'
)
->addOption(
'limit',
'limit the results. 0 means no limit, defaults to 15',
15
'15'
;
}
@ -132,7 +132,7 @@ class ConvertType extends Command implements CompletionAwareInterface {
'the maximum number of database rows to handle in a single query, bigger tables will be handled in chunks of this size. Lower this if the process runs out of memory during conversion.',
1000
'1000'
@ -306,7 +306,7 @@ class ConvertType extends Command implements CompletionAwareInterface {
return;
$chunkSize = $input->getOption('chunk-size');
$chunkSize = (int)$input->getOption('chunk-size');
$query = $fromDB->getQueryBuilder();
$query->automaticTablePrefix(false);
@ -52,13 +52,13 @@ class ListCommand extends Base {
'l',
InputOption::VALUE_OPTIONAL,
'Number of groups to retrieve',
500
'500'
)->addOption(
'offset',
'o',
'Offset for retrieving groups',
'info',
'i',
@ -60,13 +60,13 @@ class ListCommand extends Base {
'Number of users to retrieve',
'Offset for retrieving users',
'output',