From ef0648cf9ea4b466858c364370cc20c7127465ba Mon Sep 17 00:00:00 2001 From: Odyssey Date: Sat, 11 Feb 2023 12:48:17 +0100 Subject: [PATCH] Do suggestions by Midou Signed-off-by: Odyssey --- cmd/gothub/update.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/gothub/update.go b/cmd/gothub/update.go index 9536289..a9ed0c9 100644 --- a/cmd/gothub/update.go +++ b/cmd/gothub/update.go @@ -25,7 +25,7 @@ func init() { func update() { if os.Getenv("DOCKER") == "true" { - println("The GotHub update command does not work on Docker. Just re-create the container with a new image.") + println("The GotHub update command does not work on Docker. Please re-create the container with a new image instead.") os.Exit(1) } gitPull := exec.Command("git", "pull") @@ -43,7 +43,7 @@ func update() { if runtime.GOOS == "windows" { err := exec.Command("go", "build", "-o", "gothub.exe").Run() if err != nil { - println("Couldn't build GotHub. ", err) + println("Couldn't build GotHub.", err) os.Exit(1) } else { println("GotHub updated successfully.") @@ -52,7 +52,7 @@ func update() { } else { err := exec.Command("go", "build").Run() if err != nil { - println("Couldn't build GotHub. ", err) + println("Couldn't build GotHub.", err) os.Exit(1) } else { println("GotHub updated successfully.")