Skip to content

Commit

Permalink
update --command-timeout description (#694)
Browse files Browse the repository at this point in the history
## 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:
- temporalio/documentation#3162

---------

Signed-off-by: Phil Prasek <[email protected]>
Signed-off-by: Josh Berry <[email protected]>
  • Loading branch information
prasek authored Oct 17, 2024
1 parent cd53985 commit b562b32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion temporalcli/commands.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
3 changes: 2 additions & 1 deletion temporalcli/commandsgen/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b562b32

Please sign in to comment.