aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-07-02 12:22:51 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-07-02 12:22:51 +0200
commitdd131d74390a8c8766c28734efebede681e3b794 (patch)
tree82711413c5ee7b2c381c9827aeed43229492b075 /phpBB/phpbb/console/command
parent6b68544483fb8674949e1d3a69eae997cef6afbe (diff)
downloadforums-dd131d74390a8c8766c28734efebede681e3b794.tar
forums-dd131d74390a8c8766c28734efebede681e3b794.tar.gz
forums-dd131d74390a8c8766c28734efebede681e3b794.tar.bz2
forums-dd131d74390a8c8766c28734efebede681e3b794.tar.xz
forums-dd131d74390a8c8766c28734efebede681e3b794.zip
[ticket/13891] Added elapsed/estimated time and memory to the progress bar
Also fixed some extra whitespace. PHPBB3-13891
Diffstat (limited to 'phpBB/phpbb/console/command')
-rw-r--r--phpBB/phpbb/console/command/reparser/reparse.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/reparser/reparse.php b/phpBB/phpbb/console/command/reparser/reparse.php
index 2220e53193..3aac0e3e93 100644
--- a/phpBB/phpbb/console/command/reparser/reparse.php
+++ b/phpBB/phpbb/console/command/reparser/reparse.php
@@ -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('');