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 d2b7f46 commit c002627
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.\nE.g. resume scaling based on RadixConfig using either specified replicas count or horizontal autoscaling")
scaleCmd.PersistentFlags().Bool(flagnames.Reset, false, "Reset manualy scaled component to use replica count from RadixConfig or managed by horizontal autoscaling")
scaleCmd.MarkFlagsOneRequired(flagnames.Replicas, flagnames.Reset)
scaleCmd.MarkFlagsMutuallyExclusive(flagnames.Replicas, flagnames.Reset)
setContextSpecificPersistentFlags(scaleComponentCmd)
Expand Down

0 comments on commit c002627

Please sign in to comment.