Skip to content

Commit

Permalink
Merge pull request eksctl-io#2009 from martina-if/update-cluster-help
Browse files Browse the repository at this point in the history
Improve help of update cluster command
  • Loading branch information
martina-if authored Apr 6, 2020
2 parents 0eae3c3 + 9d40177 commit e2fcebd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/ctl/update/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ func updateClusterCmd(cmd *cmdutils.Cmd) {
cfg := api.NewClusterConfig()
cmd.ClusterConfig = cfg

cmd.SetDescription("cluster", "Update cluster", "")
cmd.SetDescription("cluster", "Upgrade control plane to the next version",
"Upgrade control plane to the next Kubernetes version if available. Will also perform any updates needed in the cluster stack if resources are missing.")

cmd.CobraCommand.RunE = func(_ *cobra.Command, args []string) error {
cmd.NameArg = cmdutils.GetNameArg(args)
Expand Down

0 comments on commit e2fcebd

Please sign in to comment.