From 3e7f310a35c61c1af5669edb8f156af521ec62d6 Mon Sep 17 00:00:00 2001 From: starfleeth <128422269+starfleeth@users.noreply.github.com> Date: Tue, 28 Jul 2026 16:46:15 -0700 Subject: [PATCH] Fix inverted --yes description on operator namespace delete 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) --- internal/temporalcli/commands.gen.go | 2 +- internal/temporalcli/commands.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/temporalcli/commands.gen.go b/internal/temporalcli/commands.gen.go index ca95a64b2..5f9d423bb 100644 --- a/internal/temporalcli/commands.gen.go +++ b/internal/temporalcli/commands.gen.go @@ -2010,7 +2010,7 @@ func NewTemporalOperatorNamespaceDeleteCommand(cctx *CommandContext, parent *Tem s.Command.Long = "Removes a Namespace from the Service.\n\n```\ntemporal operator namespace delete [options]\n```\n\nFor example:\n\n```\ntemporal operator namespace delete \\\n --namespace YourNamespaceName\n```" } s.Command.Args = cobra.MaximumNArgs(1) - s.Command.Flags().BoolVarP(&s.Yes, "yes", "y", false, "Request confirmation before deletion.") + s.Command.Flags().BoolVarP(&s.Yes, "yes", "y", false, "Don't prompt to confirm deletion.") s.Command.Run = func(c *cobra.Command, args []string) { if err := s.run(cctx, args); err != nil { cctx.Options.Fail(err) diff --git a/internal/temporalcli/commands.yaml b/internal/temporalcli/commands.yaml index 542ded558..159c797e0 100644 --- a/internal/temporalcli/commands.yaml +++ b/internal/temporalcli/commands.yaml @@ -2355,7 +2355,7 @@ commands: - name: yes short: y type: bool - description: Request confirmation before deletion. + description: Don't prompt to confirm deletion. - name: temporal operator namespace describe summary: Describe a Namespace