Skip to content

Commit

Permalink
better description of reset command
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Sep 12, 2024
1 parent 0605c2d commit 5cd1255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/scale.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
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)
Expand Down

0 comments on commit 5cd1255

Please sign in to comment.