Browse Source

Clarify default option in prompt

Pressing enter without specifying a letter in the continue prompt cancells installation. So, the script should show as such.
Tushar Sadhwani 3 years ago
parent
commit
f0299a87eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/install.go

+ 1 - 1
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)
 		}