From 60a6d554cc56115e45f26b6b3d2447f46480b7df Mon Sep 17 00:00:00 2001 From: Jason Huebsch Date: Tue, 29 Oct 2024 12:48:59 -0700 Subject: [PATCH] Correcting user:role:remove role description (#6145) 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. --- src/Commands/core/UserCommands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/core/UserCommands.php b/src/Commands/core/UserCommands.php index 6edad4dd26..83acb9d4ef 100644 --- a/src/Commands/core/UserCommands.php +++ b/src/Commands/core/UserCommands.php @@ -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).')]