From 1137efff4e91fa24cf064c6b440d5f5e3fbe7b0e Mon Sep 17 00:00:00 2001 From: Holger Woltersdorf Date: Wed, 17 Jan 2018 00:34:38 +0100 Subject: [PATCH] Fix duplicate usage of command option shortcut "-e", closes #1078 * "-e" shortcut is already used by the global --env option * Changes shortcut for `user:create` option --email to "-m" --- classes/Console/Command/UserCreateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Console/Command/UserCreateCommand.php b/classes/Console/Command/UserCreateCommand.php index e69dc4ba0..d9bafe828 100644 --- a/classes/Console/Command/UserCreateCommand.php +++ b/classes/Console/Command/UserCreateCommand.php @@ -42,7 +42,7 @@ protected function configure() ->setDefinition([ new InputOption('first_name', 'f', InputOption::VALUE_REQUIRED, 'First Name of the user to create', null), new InputOption('last_name', 'l', InputOption::VALUE_REQUIRED, 'Last Name of the user to create', null), - new InputOption('email', 'e', InputOption::VALUE_REQUIRED, 'Email of the user to create', null), + new InputOption('email', 'm', InputOption::VALUE_REQUIRED, 'Email of the user to create', null), new InputOption('password', 'p', InputOption::VALUE_REQUIRED, 'Password of the user to create', null), new InputOption('admin', 'a', InputOption::VALUE_NONE, 'Promote to administrator', null), new InputOption('reviewer', 'r', InputOption::VALUE_NONE, 'Promote to reviewer', null),