Skip to content

Commit 93286c9

Browse files
Merge pull request #1861 from wking/update-to-latest-help-text
OCPBUGS-30658: pkg/cli/admin/upgrade: --to-latest help "next" -> "latest"
2 parents a0501f4 + 56db34e commit 93286c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cli/admin/upgrade/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func New(f kcmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command
104104
flags := cmd.Flags()
105105
flags.StringVar(&o.To, "to", o.To, "Specify the version to upgrade to. The version must be on the list of available updates.")
106106
flags.StringVar(&o.ToImage, "to-image", o.ToImage, "Provide a release image to upgrade to.")
107-
flags.BoolVar(&o.ToLatestAvailable, "to-latest", o.ToLatestAvailable, "Use the next available version.")
107+
flags.BoolVar(&o.ToLatestAvailable, "to-latest", o.ToLatestAvailable, "Use the latest (highest Semantic Version) available version.")
108108
flags.BoolVar(&o.ToMultiArch, "to-multi-arch", o.ToMultiArch, "Upgrade current version to multi architecture.")
109109
flags.BoolVar(&o.Clear, "clear", o.Clear, "If an upgrade has been requested but not yet downloaded, cancel the update. This has no effect once the update has started.")
110110
flags.BoolVar(&o.Force, "force", o.Force, "Upgrade regardless of cluster-side guard failures, such as release verification or upgradeable conditions.")

0 commit comments

Comments
 (0)