From 37b857dfc08a5fd48f90ff9bbf9d06e742ea8e3a Mon Sep 17 00:00:00 2001 From: Pierre Gerbelot Date: Tue, 31 Dec 2024 10:43:01 +0100 Subject: [PATCH] feat: improve comment of the cluster lock cmd --- cmd/cluster_lock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cluster_lock.go b/cmd/cluster_lock.go index 63d60b7..52c721f 100644 --- a/cmd/cluster_lock.go +++ b/cmd/cluster_lock.go @@ -23,7 +23,7 @@ var clusterLockCmd = &cobra.Command{ func init() { clusterLockCmd.Flags().StringVarP(&clusterId, "cluster-id", "c", "", "Cluster ID") clusterLockCmd.Flags().StringVarP(&lockReason, "reason", "r", "", "Reason") - clusterLockCmd.Flags().Int32VarP(&lockTtlInDays, "ttl-in-days", "d", -1, "TTL in days") + clusterLockCmd.Flags().Int32VarP(&lockTtlInDays, "ttl-in-days", "d", -1, " Time-to-live (TTL) for the lock in days (1 to 5 days)") _ = clusterLockCmd.MarkFlagRequired("cluster-id") _ = clusterLockCmd.MarkFlagRequired("reason")