mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12684] Add extended help for the user:add command
PHPBB3-12684
This commit is contained in:
parent
0c1e7c2f9c
commit
0f8790dd2e
2 changed files with 4 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Reference in a new issue