From b562b328f559a1308f2ec0c6d9313d32d4e2570d Mon Sep 17 00:00:00 2001 From: Phil Prasek Date: Thu, 17 Oct 2024 11:44:44 -0700 Subject: [PATCH] update --command-timeout description (#694) ## What was changed update `--command-timeout` description per docs feedback ## Why? make it more clear ## Checklist 1. How was this tested: locally with `go run ./cmd/temporal operator nexus endpoint create --help` 2. Any docs updates needed? yes, see related: - https://github.com/temporalio/documentation/pull/3162 --------- Signed-off-by: Phil Prasek Signed-off-by: Josh Berry --- temporalcli/commands.gen.go | 2 +- temporalcli/commandsgen/commands.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/temporalcli/commands.gen.go b/temporalcli/commands.gen.go index a56d6d3c..181cd85c 100644 --- a/temporalcli/commands.gen.go +++ b/temporalcli/commands.gen.go @@ -311,7 +311,7 @@ func NewTemporalCommand(cctx *CommandContext) *TemporalCommand { s.Command.PersistentFlags().Var(&s.Color, "color", "Output coloring. Accepted values: always, never, auto.") s.Command.PersistentFlags().BoolVar(&s.NoJsonShorthandPayloads, "no-json-shorthand-payloads", false, "Raw payload output, even if the JSON option was used.") s.CommandTimeout = 0 - s.Command.PersistentFlags().Var(&s.CommandTimeout, "command-timeout", "Timeout for the span of a command.") + s.Command.PersistentFlags().Var(&s.CommandTimeout, "command-timeout", "The command execution timeout. 0s means no timeout.") s.initCommand(cctx) return &s } diff --git a/temporalcli/commandsgen/commands.yml b/temporalcli/commandsgen/commands.yml index e03e572b..516a4e5e 100644 --- a/temporalcli/commandsgen/commands.yml +++ b/temporalcli/commandsgen/commands.yml @@ -197,7 +197,8 @@ commands: description: Raw payload output, even if the JSON option was used. - name: command-timeout type: duration - description: Timeout for the span of a command. + description: | + The command execution timeout. 0s means no timeout. - name: temporal activity summary: Complete or fail an Activity