Skip to content

Commit a4c4c57

Browse files
authored
Update cmd name example in gp timeout set (#19965)
1 parent 21fca56 commit a4c4c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var setTimeoutCmd = &cobra.Command{
2525
2626
Duration must be in the format of <n>m (minutes), <n>h (hours) and cannot be longer than 24 hours.
2727
For example: 30m or 1h`,
28-
Example: `gitpod timeout set 1h`,
28+
Example: fmt.Sprintf("%s %s set 1h", rootCmd.Use, timeoutCmd.Use),
2929
RunE: func(cmd *cobra.Command, args []string) error {
3030
ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Second)
3131
defer cancel()

0 commit comments

Comments
 (0)