aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-03-27 09:47:45 -0700
committerMatt Friedman <maf675@gmail.com>2016-03-31 15:07:59 -0700
commited0f151d863d7449d73336b3697e37259812215e (patch)
treef90eb564086fd1e354d1ca16b27ff4cfd04a0ad3
parentaee3eec439b39ac1f8aa79582b302a499a23acc0 (diff)
downloadforums-ed0f151d863d7449d73336b3697e37259812215e.tar
forums-ed0f151d863d7449d73336b3697e37259812215e.tar.gz
forums-ed0f151d863d7449d73336b3697e37259812215e.tar.bz2
forums-ed0f151d863d7449d73336b3697e37259812215e.tar.xz
forums-ed0f151d863d7449d73336b3697e37259812215e.zip
[ticket/14561] Add extra help explaining reclean command
PHPBB3-14561
-rw-r--r--phpBB/language/en/cli.php1
-rw-r--r--phpBB/phpbb/console/command/user/reclean.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/language/en/cli.php b/phpBB/language/en/cli.php
index 0048e4569f..872aa464b5 100644
--- a/phpBB/language/en/cli.php
+++ b/phpBB/language/en/cli.php
@@ -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:
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.',
+ '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.',
));
diff --git a/phpBB/phpbb/console/command/user/reclean.php b/phpBB/phpbb/console/command/user/reclean.php
index e2f95c16d8..ba8a638e7b 100644
--- a/phpBB/phpbb/console/command/user/reclean.php
+++ b/phpBB/phpbb/console/command/user/reclean.php
@@ -57,6 +57,7 @@ class reclean extends command
$this
->setName('user:reclean')
->setDescription($this->language->lang('CLI_DESCRIPTION_USER_RECLEAN'))
+ ->setHelp($this->language->lang('CLI_HELP_USER_RECLEAN'))
;
}