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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user