From 81cbf03a52bc87501fe2721377f0fe74e606a0ab Mon Sep 17 00:00:00 2001 From: Rowan Smith Date: Mon, 22 Dec 2025 11:24:00 +1100 Subject: [PATCH] chore: fix typo in organization roles create help text (#21352) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A simple typo fix to the help text stidin > stdin ``` ➜ coder git:(org_role_fix) ✗ coder organizations roles create -h coder v2.29.1+59cdd7e USAGE: coder organizations roles create [flags] Create a new organization custom role - Run with an input.json file: $ coder organization -O roles create --stidin < role.json ``` --- cli/organizationroles.go | 2 +- cli/testdata/coder_organizations_roles_create_--help.golden | 2 +- docs/reference/cli/organizations_roles_create.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/organizationroles.go b/cli/organizationroles.go index 7046d8a233..8e0bc5a121 100644 --- a/cli/organizationroles.go +++ b/cli/organizationroles.go @@ -129,7 +129,7 @@ func (r *RootCmd) createOrganizationRole(orgContext *OrganizationContext) *serpe Long: FormatExamples( Example{ Description: "Run with an input.json file", - Command: "coder organization -O roles create --stidin < role.json", + Command: "coder organization -O roles create --stdin < role.json", }, ), Options: []serpent.Option{ diff --git a/cli/testdata/coder_organizations_roles_create_--help.golden b/cli/testdata/coder_organizations_roles_create_--help.golden index 8bac1a3c78..fb38df9393 100644 --- a/cli/testdata/coder_organizations_roles_create_--help.golden +++ b/cli/testdata/coder_organizations_roles_create_--help.golden @@ -7,7 +7,7 @@ USAGE: - Run with an input.json file: - $ coder organization -O roles create --stidin < + $ coder organization -O roles create --stdin < role.json OPTIONS: diff --git a/docs/reference/cli/organizations_roles_create.md b/docs/reference/cli/organizations_roles_create.md index 70b2f21c4d..541584c06a 100644 --- a/docs/reference/cli/organizations_roles_create.md +++ b/docs/reference/cli/organizations_roles_create.md @@ -14,7 +14,7 @@ coder organizations roles create [flags] ```console - Run with an input.json file: - $ coder organization -O roles create --stidin < role.json + $ coder organization -O roles create --stdin < role.json ``` ## Options