diff --git a/bin/console b/bin/console index 71f32a530b..c973195ff6 100755 --- a/bin/console +++ b/bin/console @@ -118,13 +118,13 @@ $cli->command(new ListCollectionCommand('collection:list')); $cli->command(new ListDataboxCommand('databox:list')); $cli->command(new CreateDataboxCommand('databox:create')); - $cli->command(new UserCreateCommand('user:create')); - $cli->command(new UserSetPasswordCommand('user:set-password')); + $cli->command(new UserListCommand('user:list')); + $cli->command(new RecordAdd('records:add')); $cli->command(new RescanTechnicalDatas('records:rescan-technical-datas')); $cli->command(new BuildMissingSubdefs('records:build-missing-subdefs')); diff --git a/lib/Alchemy/Phrasea/Command/User/UserCreateCommand.php b/lib/Alchemy/Phrasea/Command/User/UserCreateCommand.php index 510e9f458f..987238c38e 100644 --- a/lib/Alchemy/Phrasea/Command/User/UserCreateCommand.php +++ b/lib/Alchemy/Phrasea/Command/User/UserCreateCommand.php @@ -39,7 +39,7 @@ class UserCreateCommand extends Command ->addOption('user_mail', null, InputOption::VALUE_OPTIONAL, 'The desired mail for created user.') ->addOption('user_password', null, InputOption::VALUE_OPTIONAL, 'The desired password') ->addOption('send_mail_confirm', null, InputOption::VALUE_NONE, 'Send an email to user, for validate email.') - ->addOption('send_mail_password', null, InputOption::VALUE_NONE, 'Send an email to user, for define password') + ->addOption('send_mail_password', null, InputOption::VALUE_NONE, 'Send an email to user, for password definition, work only if user_password is not define') ->addOption('model_number', null, InputOption::VALUE_OPTIONAL, 'Id of model') ->addOption('user_gender', null, InputOption::VALUE_OPTIONAL, 'The gender for created user.') ->addOption('user_firstname', null, InputOption::VALUE_OPTIONAL, 'The first name for created user.')