diff --git a/core/Command/Background/ListCommand.php b/core/Command/Background/ListCommand.php index a7b98a037a89f..0ba2b8a2194c9 100644 --- a/core/Command/Background/ListCommand.php +++ b/core/Command/Background/ListCommand.php @@ -53,7 +53,7 @@ protected function configure(): void { 'l', InputOption::VALUE_OPTIONAL, 'Number of jobs to retrieve', - '10' + '100' )->addOption( 'offset', 'o', @@ -67,6 +67,7 @@ protected function configure(): void { protected function execute(InputInterface $input, OutputInterface $output): int { $jobs = $this->jobList->getJobsIterator($input->getOption('class'), (int)$input->getOption('limit'), (int)$input->getOption('offset')); + $output->writeln("Output is currently limited to first " . $input->getOption('limit') . " jobs. Specify `-l, --limit[=LIMIT]` to override."); $this->writeTableInOutputFormat($input, $output, $this->formatJobs($jobs)); return 0; }