mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Update core/Command/Background/ListCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Jonas <jonas@freesources.org>
This commit is contained in:
parent
490f5cc4ec
commit
af4287d8a3
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class ListCommand extends Base {
|
|||
$jobsInfo = $this->formatJobs($this->jobList->getJobsIterator($input->getOption('class'), $limit, (int)$input->getOption('offset')));
|
||||
$this->writeTableInOutputFormat($input, $output, $jobsInfo);
|
||||
if ($input->getOption('output') === self::OUTPUT_FORMAT_PLAIN && count($jobsInfo) >= $limit) {
|
||||
$output->writeln("\n<comment>Output is currently limited to first " . $limit . " jobs. Specify `-l, --limit[=LIMIT]` to override.</comment>");
|
||||
$output->writeln("\n<comment>Output is currently limited to " . $limit . " jobs. Specify `-l, --limit[=LIMIT]` to override.</comment>");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue