From d2b7f46e9ea1e7094ee93ee60ecfc9840852549c Mon Sep 17 00:00:00 2001 From: Richard87 Date: Thu, 12 Sep 2024 14:22:48 +0200 Subject: [PATCH] better description of reset command --- cmd/scale.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/scale.go b/cmd/scale.go index 05cc067..da7aa53 100644 --- a/cmd/scale.go +++ b/cmd/scale.go @@ -36,7 +36,7 @@ func init() { scaleCmd.PersistentFlags().StringP(flagnames.Environment, "e", "", "Name of the environment of the application") scaleCmd.PersistentFlags().StringP(flagnames.Component, "n", "", "Name of the component to scale") scaleCmd.PersistentFlags().IntP(flagnames.Replicas, "r", 1, "The new desired number of replicas") - scaleCmd.PersistentFlags().Bool(flagnames.Reset, false, "Reset manual scaling to resume normal operations.\nE.g. resume scaling based on RadixConfig. Using either specified replicas count or horizontal autoscaling") + scaleCmd.PersistentFlags().Bool(flagnames.Reset, false, "Reset manual scaling to resume normal operations.\nE.g. resume scaling based on RadixConfig using either specified replicas count or horizontal autoscaling") scaleCmd.MarkFlagsOneRequired(flagnames.Replicas, flagnames.Reset) scaleCmd.MarkFlagsMutuallyExclusive(flagnames.Replicas, flagnames.Reset) setContextSpecificPersistentFlags(scaleComponentCmd)