From 150c90be68f9764fe7c05c8f8d3ffde81d94719c Mon Sep 17 00:00:00 2001 From: Allen Zhong Date: Mon, 19 Apr 2021 17:09:52 +0800 Subject: [PATCH] playground: update version selection examples (#1318) --- components/playground/playground.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/playground/playground.go b/components/playground/playground.go index d408953a43..269f03da4a 100644 --- a/components/playground/playground.go +++ b/components/playground/playground.go @@ -677,12 +677,12 @@ func (p *Playground) bootCluster(ctx context.Context, env *environment.Environme } options.version = version.String() - fmt.Println(color.YellowString(`Use the latest stable version: %s + fmt.Println(color.YellowString(`No TiDB version specified, using the latest stable version: %s +If you'd like to use a TiDB version other than %s, cancel and retry with the following arguments: Specify version manually: tiup playground - The stable version: tiup playground v4.0.0 The nightly version: tiup playground nightly -`, options.version)) +`, options.version, options.version)) } if !utils.Version(options.version).IsNightly() {