From f0299a87eb8b72d8831cba7536bdd54d09f15690 Mon Sep 17 00:00:00 2001 From: Tushar Sadhwani Date: Sun, 12 Sep 2021 23:47:06 +0530 Subject: [PATCH] Clarify default option in prompt Pressing enter without specifying a letter in the continue prompt cancells installation. So, the script should show as such. --- cmd/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/install.go b/cmd/install.go index 0596b0d1..ed78a71f 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -32,7 +32,7 @@ func install(lastVer string, db *sqlx.DB, fs stuffbin.FileSystem, prompt, idempo if prompt { var ok string - fmt.Print("continue (y/n)? ") + fmt.Print("continue (y/N)? ") if _, err := fmt.Scanf("%s", &ok); err != nil { lo.Fatalf("error reading value from terminal: %v", err) }