mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00: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:
parent
6b68544483
commit
dd131d7439
1 changed files with 3 additions and 3 deletions
|
@ -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('');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue