Skip to content

Commit

Permalink
Update cmd name example in gp timeout set (#19965)
Browse files Browse the repository at this point in the history
  • Loading branch information
axonasif authored Jun 24, 2024
1 parent 21fca56 commit a4c4c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gitpod-cli/cmd/timeout-set.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var setTimeoutCmd = &cobra.Command{
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`,
Example: fmt.Sprintf("%s %s set 1h", rootCmd.Use, timeoutCmd.Use),
RunE: func(cmd *cobra.Command, args []string) error {
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Second)
defer cancel()
Expand Down

0 comments on commit a4c4c57

Please sign in to comment.