Allow to specify a user by username or email with set-password commannd

This commit is contained in:
Jan Böhmer 2023-02-23 23:39:29 +01:00
parent c831d57614
commit e6d9237bda
2 changed files with 4 additions and 7 deletions

View file

@ -57,7 +57,7 @@ class UsersPermissionsCommand extends Command
protected function configure(): void
{
$this
->addArgument('user', InputArgument::REQUIRED, 'The username of the user to view')
->addArgument('user', InputArgument::REQUIRED, 'The username or email of the user to view')
->addOption('noInherit', null, InputOption::VALUE_NONE, 'Do not inherit permissions from groups')
->addOption('edit', '', InputOption::VALUE_NONE, 'Edit the permissions of the user')
;