diff --git a/.changelog/15382.txt b/.changelog/15382.txt new file mode 100644 index 000000000000..07067a9f9807 --- /dev/null +++ b/.changelog/15382.txt @@ -0,0 +1,3 @@ +```release-note:bug +cli: corrected typos in ACL role create/delete CLI commands +``` diff --git a/command/acl_role_create.go b/command/acl_role_create.go index ed1ac0c0b3b5..fa06f46c5cb9 100644 --- a/command/acl_role_create.go +++ b/command/acl_role_create.go @@ -26,7 +26,7 @@ type ACLRoleCreateCommand struct { // Help satisfies the cli.Command Help function. func (a *ACLRoleCreateCommand) Help() string { helpText := ` -Usage: nomad acl token create [options] +Usage: nomad acl role create [options] Create is used to create new ACL roles. Use requires a management token. diff --git a/command/acl_role_delete.go b/command/acl_role_delete.go index d7b4722975dd..6f35e3664d9e 100644 --- a/command/acl_role_delete.go +++ b/command/acl_role_delete.go @@ -42,7 +42,7 @@ func (a *ACLRoleDeleteCommand) AutocompleteArgs() complete.Predictor { return co func (a *ACLRoleDeleteCommand) Synopsis() string { return "Delete an existing ACL role" } // Name returns the name of this command. -func (a *ACLRoleDeleteCommand) Name() string { return "acl token delete" } +func (a *ACLRoleDeleteCommand) Name() string { return "acl role delete" } // Run satisfies the cli.Command Run function. func (a *ACLRoleDeleteCommand) Run(args []string) int {