From 710d54536d97eb91071cbc0f68e593a215ee928b Mon Sep 17 00:00:00 2001 From: YSTYLE Date: Fri, 20 Apr 2018 00:47:44 +0800 Subject: [PATCH] fix #9 --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 4f82948..a62a62a 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( ) const ( - version = "2.0.0" + version = "2.0.2" default_Originalpath = "http://7xo3cg.com1.z0.glb.clouddn.com/2.0/jdkdlindex.json" ) @@ -162,7 +162,8 @@ func commands() []cli.Command { // may consider keep the temp files here os.RemoveAll(jdktempfile) - fmt.Println("Installation complete. If you want to use this version, type\n\njvms use", v) + fmt.Println("Installation complete. If you want to use this version, type\n\njvms switch", v) + fmt.Println() } else { fmt.Println("Could not download JDK " + v + " executable.") }