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

[ticket/12685] Add --safe-mode

PHPBB3-12685
This commit is contained in:
Carlo
2014-07-15 00:38:07 +02:00
parent 6082b5e3d3
commit 2ec50c0ff1
3 changed files with 20 additions and 2 deletions

View File

@@ -67,6 +67,13 @@ class application extends \Symfony\Component\Console\Application
$this->user->lang('CLI_DESCRIPTION_OPTION_SHELL')
));
$this->getDefinition()->addOption(new InputOption(
'--safe-mode',
null,
InputOption::VALUE_NONE,
$this->user->lang('CLI_DESCRIPTION_OPTION_SAFE_MODE')
));
return parent::getHelp();
}