Skip to content

Fix inverted --yes description on operator namespace delete - #1143

Open
starfleeth wants to merge 1 commit into
mainfrom
fix/namespace-delete-yes-description
Open

Fix inverted --yes description on operator namespace delete#1143
starfleeth wants to merge 1 commit into
mainfrom
fix/namespace-delete-yes-description

Conversation

@starfleeth

Copy link
Copy Markdown

Related issues

Closes #1142

What changed?

temporal operator namespace delete documented -y, --yes as "Request confirmation before deletion." It does the opposite — it supplies the confirmation so the delete runs unattended. The behavior is correct and unchanged; only the description was wrong.

New wording matches the other 16 --yes flags in commands.yaml, all of which use "Don't prompt to confirm …". This was the only one that deviated. Repro and detail in #1142.

No test added: the description is display-only metadata with no execution path, which is also why this survived — it can't fail a test, a build, or a review of the Go.

⚠️ commands.gen.go was hand-applied, not regenerated (no Go toolchain on this machine). The string appears exactly once as a plain literal, so it should be byte-identical to generator output — the Regen code, confirm unchanged CI step will confirm.

The flag was documented as "Request confirmation before deletion." when it
does the opposite: it supplies the confirmation so the delete proceeds
unattended. New wording matches the other 16 --yes flags in commands.yaml.

Closes #1142

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@starfleeth
starfleeth requested a review from a team as a code owner July 28, 2026 23:50
@CLAassistant

CLAassistant commented Jul 28, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@starfleeth
starfleeth requested a review from dandavison July 28, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] --yes on operator namespace delete is documented as the inverse of what it does

2 participants