1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/14895] CLI reparser:list should display proper list

PHPBB3-14895
This commit is contained in:
Matt Friedman
2016-12-07 10:13:09 -08:00
parent 129bfd5e62
commit 74cd513a88
2 changed files with 7 additions and 2 deletions

View File

@@ -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;
}