浏览代码

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 年之前
父节点
当前提交
f0299a87eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 		}