mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/13891] Added elapsed/estimated time and memory to the progress bar
Also fixed some extra whitespace. PHPBB3-13891
This commit is contained in:
@@ -27,8 +27,8 @@ class reparse extends \phpbb\console\command\command
|
||||
protected $reparsers;
|
||||
|
||||
/**
|
||||
* @var SymfonyStyle
|
||||
*/
|
||||
* @var SymfonyStyle
|
||||
*/
|
||||
protected $io;
|
||||
|
||||
/**
|
||||
@@ -141,7 +141,7 @@ class reparse extends \phpbb\console\command\command
|
||||
$progress = $this->io->createProgressBar($max);
|
||||
$progress->setFormat(
|
||||
" %current:s%/%max:s% %bar% %percent:3s%%\n" .
|
||||
" %message%\n");
|
||||
" %message% %elapsed:6s%/%estimated:-6s% %memory:6s%\n");
|
||||
$progress->setBarWidth(60);
|
||||
$progress->setMessage('');
|
||||
|
||||
|
Reference in New Issue
Block a user