[ticket/14561] Add extra help explaining reclean command

PHPBB3-14561
This commit is contained in:
Matt Friedman 2016-03-27 09:47:45 -07:00
parent aee3eec439
commit ed0f151d86
2 changed files with 2 additions and 0 deletions

View file

@ -151,4 +151,5 @@ To optionally send an activation email to the user, use the <info>--send-email</
'CLI_HELP_USER_ADD' => 'The <info>%command.name%</info> command adds a new user: '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. 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.', To optionally send an email to the new user, use the <info>--send-email</info> option.',
'CLI_HELP_USER_RECLEAN' => 'Re-clean usernames will check all stored usernames and ensure clean versions are also stored. Cleaned usernames are a case insensitive form, NFC normalized and transformed to ASCII.',
)); ));

View file

@ -57,6 +57,7 @@ class reclean extends command
$this $this
->setName('user:reclean') ->setName('user:reclean')
->setDescription($this->language->lang('CLI_DESCRIPTION_USER_RECLEAN')) ->setDescription($this->language->lang('CLI_DESCRIPTION_USER_RECLEAN'))
->setHelp($this->language->lang('CLI_HELP_USER_RECLEAN'))
; ;
} }