From 6aa187af09e64026eb035390b387a75497c51691 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Wed, 1 Dec 2021 10:47:20 +0100 Subject: [PATCH] More explicit message on deletion --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 88419e2..02b9723 100644 --- a/main.go +++ b/main.go @@ -42,12 +42,12 @@ func main() { response := "" for response != "y" && response != "n" { response = "n" - fmt.Printf("The %s directory already exists, it will be \x1b[31;1mremoved\x1b[0m, do you really want to continue ? [y/N]: ", dirname) + fmt.Printf("The %s directory already exists, it will be \x1b[31;1mremoved\x1b[0m!\nDo you really want to continue ? [y/N]: ", dirname) fmt.Scanf("%s", &response) response = strings.ToLower(response) } if response == "n" { - fmt.Println("Cancelled...") + fmt.Println("Cancelled") os.Exit(0) } }