From 53a95e18a9f3b387e04485c75df99e707b117738 Mon Sep 17 00:00:00 2001 From: Phil Prasek Date: Thu, 17 Oct 2024 11:31:17 -0700 Subject: [PATCH] update for duration 0s Signed-off-by: Phil Prasek --- temporalcli/commands.gen.go | 2 +- temporalcli/commandsgen/commands.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/temporalcli/commands.gen.go b/temporalcli/commands.gen.go index 8f620043..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", "The command execution timeout in seconds. 0 means no timeout.") + 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 e6dc91b9..516a4e5e 100644 --- a/temporalcli/commandsgen/commands.yml +++ b/temporalcli/commandsgen/commands.yml @@ -198,7 +198,7 @@ commands: - name: command-timeout type: duration description: | - The command execution timeout in seconds. 0 means no timeout. + The command execution timeout. 0s means no timeout. - name: temporal activity summary: Complete or fail an Activity