aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-03-08 00:06:10 -0800
committerMatt Friedman <maf675@gmail.com>2016-03-08 00:34:27 -0800
commit0c1e7c2f9cf81c1e487a0dcd2fb9e053de14c275 (patch)
tree6f2cd87d678137e09b44e05e2ecb0eba37933dbe /phpBB/phpbb/console
parentcc941e6e05d3be75ef60d9473dee43cd6320c85b (diff)
downloadforums-0c1e7c2f9cf81c1e487a0dcd2fb9e053de14c275.tar
forums-0c1e7c2f9cf81c1e487a0dcd2fb9e053de14c275.tar.gz
forums-0c1e7c2f9cf81c1e487a0dcd2fb9e053de14c275.tar.bz2
forums-0c1e7c2f9cf81c1e487a0dcd2fb9e053de14c275.tar.xz
forums-0c1e7c2f9cf81c1e487a0dcd2fb9e053de14c275.zip
[ticket/12684] Add shorthand alternates to the options
PHPBB3-12684
Diffstat (limited to 'phpBB/phpbb/console')
-rw-r--r--phpBB/phpbb/console/command/user/add.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/user/add.php b/phpBB/phpbb/console/command/user/add.php
index 943cdb67a5..42ff000ca4 100644
--- a/phpBB/phpbb/console/command/user/add.php
+++ b/phpBB/phpbb/console/command/user/add.php
@@ -84,19 +84,19 @@ class add extends \phpbb\console\command\command
->setDescription($this->language->lang('CLI_DESCRIPTION_USER_ADD'))
->addOption(
'username',
- null,
+ 'U',
InputOption::VALUE_REQUIRED,
$this->language->lang('CLI_DESCRIPTION_USER_ADD_OPTION_USERNAME')
)
->addOption(
'password',
- null,
+ 'P',
InputOption::VALUE_REQUIRED,
$this->language->lang('CLI_DESCRIPTION_USER_ADD_OPTION_PASSWORD')
)
->addOption(
'email',
- null,
+ 'E',
InputOption::VALUE_REQUIRED,
$this->language->lang('CLI_DESCRIPTION_USER_ADD_OPTION_EMAIL')
)