Skip to content

Commit

Permalink
Update gp timeout set help text to match backend
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored and roboquat committed Feb 10, 2023
1 parent d5b7d3a commit 90a865f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/gitpod-cli/cmd/timeout-set.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ var setTimeoutCmd = &cobra.Command{
Short: "Set timeout of current workspace",
Long: `Set timeout of current workspace.
Duration must be in the format of <n>m (minutes), <n>h (hours), or <n>d (days).
For example, 30m, 1h, 2d, etc.`,
Duration must be in the format of <n>m (minutes), <n>h (hours) and cannot be longer than 24 hours.
For example: 30m or 1h`,
Example: `gitpod timeout set 1h`,
RunE: func(cmd *cobra.Command, args []string) error {
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Second)
Expand Down

0 comments on commit 90a865f

Please sign in to comment.