Skip to content

Commit bc88c11

Browse files
authored
fix upgrade function prompt (#287)
1 parent eeb4893 commit bc88c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func RootCmd(h *internal.Helper) *cobra.Command {
187187
if config.IsUnderTiUP {
188188
fmt.Fprintln(h.IOStreams.Out, color.GreenString("Use `tiup update cloud` to update to the latest version"))
189189
} else {
190-
fmt.Fprintln(h.IOStreams.Out, color.GreenString("Use `ticloud update` to update to the latest version"))
190+
fmt.Fprintln(h.IOStreams.Out, color.GreenString("Use `ticloud upgrade` to upgrade to the latest version"))
191191
}
192192
}
193193
}

0 commit comments

Comments
 (0)