aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-12-07 10:13:09 -0800
committerMatt Friedman <maf675@gmail.com>2016-12-07 10:13:09 -0800
commit74cd513a8892285032a248322e3ce52b19645075 (patch)
tree431367b4c21a7f18305c5263c74680f00cb8fca0 /phpBB/phpbb/console/command
parent129bfd5e62ed56edc9641795ca5d28059d181d88 (diff)
downloadforums-74cd513a8892285032a248322e3ce52b19645075.tar
forums-74cd513a8892285032a248322e3ce52b19645075.tar.gz
forums-74cd513a8892285032a248322e3ce52b19645075.tar.bz2
forums-74cd513a8892285032a248322e3ce52b19645075.tar.xz
forums-74cd513a8892285032a248322e3ce52b19645075.zip
[ticket/14895] CLI reparser:list should display proper list
PHPBB3-14895
Diffstat (limited to 'phpBB/phpbb/console/command')
-rw-r--r--phpBB/phpbb/console/command/reparser/list_all.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/reparser/list_all.php b/phpBB/phpbb/console/command/reparser/list_all.php
index e42c3ac782..7dd0571975 100644
--- a/phpBB/phpbb/console/command/reparser/list_all.php
+++ b/phpBB/phpbb/console/command/reparser/list_all.php
@@ -54,7 +54,7 @@ class list_all extends \phpbb\console\command\command
}
/**
- * Executes the command reparser:reparse
+ * Executes the command reparser:list
*
* @param InputInterface $input
* @param OutputInterface $output
@@ -62,7 +62,11 @@ class list_all extends \phpbb\console\command\command
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
- $output->writeln('<info>' . implode(', ', $this->reparser_names) . '</info>');
+ $output->writeln('<info>' . $this->user->lang('CLI_DESCRIPTION_REPARSER_AVAILABLE') . '</info>');
+ foreach ($this->reparser_names as $reparser_name)
+ {
+ $output->writeln($reparser_name);
+ }
return 0;
}