Skip to content

Commit 3faf828

Browse files
committed
Update gp timeout set help text to match backend
1 parent d02e165 commit 3faf828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/gitpod-cli/cmd/timeout-set.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ var setTimeoutCmd = &cobra.Command{
2323
Short: "Set timeout of current workspace",
2424
Long: `Set timeout of current workspace.
2525
26-
Duration must be in the format of <n>m (minutes), <n>h (hours), or <n>d (days).
27-
For example, 30m, 1h, 2d, etc.`,
26+
Duration must be in the format of <n>m (minutes), <n>h (hours) and cannot be longer than 24 hours.
27+
For example: 30m or 1h`,
2828
Example: `gitpod timeout set 1h`,
2929
RunE: func(cmd *cobra.Command, args []string) error {
3030
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Second)

0 commit comments

Comments
 (0)