1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/12684] Add shorthand alternates to the options

PHPBB3-12684
This commit is contained in:
Matt Friedman 2016-03-08 00:06:10 -08:00
parent cc941e6e05
commit 0c1e7c2f9c

View File

@ -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')
)