Skip to content

Commit

Permalink
Correcting user:role:remove role description (#6145)
Browse files Browse the repository at this point in the history
role description says add when it should say remove. Changing this will make the description accurately describe the action being taken. In this case the machine name of the role to remove.
  • Loading branch information
jhuebsch authored Oct 29, 2024
1 parent 4953b97 commit 60a6d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/UserCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function addRole(string $role, string $names = '', $options = ['uid' => s
* Remove a role from the specified user accounts.
*/
#[CLI\Command(name: self::ROLE_REMOVE, aliases: ['urrol', 'user-remove-role'])]
#[CLI\Argument(name: 'role', description: 'The machine name of the role to add.')]
#[CLI\Argument(name: 'role', description: 'The machine name of the role to remove.')]
#[CLI\Argument(name: 'names', description: 'A comma delimited list of user names.')]
#[CLI\Option(name: 'uid', description: 'A comma delimited list of user ids to lookup (an alternative to names).')]
#[CLI\Option(name: 'mail', description: 'A comma delimited list of emails to lookup (an alternative to names).')]
Expand Down

0 comments on commit 60a6d55

Please sign in to comment.