Skip to content

Commit

Permalink
Improved docs on update ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewinne committed Dec 12, 2023
1 parent 9cd6df2 commit 97ecd23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/cmd/cluster_update_ttl.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ import (

func (r *runners) InitClusterUpdateTTL(parent *cobra.Command) *cobra.Command {
cmd := &cobra.Command{
Use: "ttl",
Short: "Update TTL for a test clusters",
Long: `Update TTL for a test clusters`,
Use: "ttl ID",
Short: "Update TTL for a test cluster",
Long: `Update TTL for a test cluster`,
Args: cobra.ExactArgs(1),
RunE: r.updateClusterTTL,
SilenceUsage: true,
}
parent.AddCommand(cmd)

cmd.Flags().StringVar(&r.args.updateClusterTTL, "ttl", "", "Cluster TTL (duration, max 48h)")
cmd.Flags().StringVar(&r.args.updateClusterTTL, "ttl", "", "Update TTL which starts from the moment the cluster is running (duration, max 48h).")

cmd.Flags().StringVar(&r.outputFormat, "output", "table", "The output format to use. One of: json|table (default: table)")

Expand Down

0 comments on commit 97ecd23

Please sign in to comment.