mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/12684] Add extended help for the user:add command
PHPBB3-12684
This commit is contained in:
@@ -131,4 +131,7 @@ $lang = array_merge($lang, array(
|
|||||||
// Additional help for commands.
|
// Additional help for commands.
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'CLI_HELP_CRON_RUN' => $lang['CLI_DESCRIPTION_CRON_RUN'] . ' Optionally you can specify a cron task name to run only the specified cron task.',
|
'CLI_HELP_CRON_RUN' => $lang['CLI_DESCRIPTION_CRON_RUN'] . ' Optionally you can specify a cron task name to run only the specified cron task.',
|
||||||
|
'CLI_HELP_USER_ADD' => 'The <info>%command.name%</info> command adds a new user:
|
||||||
|
If this command is run without options, you will be prompted to enter them.
|
||||||
|
To optionally send an email to the new user, use the <info>--send-email</info> option.',
|
||||||
));
|
));
|
||||||
|
@@ -82,6 +82,7 @@ class add extends \phpbb\console\command\command
|
|||||||
$this
|
$this
|
||||||
->setName('user:add')
|
->setName('user:add')
|
||||||
->setDescription($this->language->lang('CLI_DESCRIPTION_USER_ADD'))
|
->setDescription($this->language->lang('CLI_DESCRIPTION_USER_ADD'))
|
||||||
|
->setHelp($this->language->lang('CLI_HELP_USER_ADD'))
|
||||||
->addOption(
|
->addOption(
|
||||||
'username',
|
'username',
|
||||||
'U',
|
'U',
|
||||||
|
Reference in New Issue
Block a user