From 1abdc31f5387e4a4005f3652773bee9b6023323f Mon Sep 17 00:00:00 2001 From: suika Date: Mon, 18 Jul 2022 12:33:38 +0800 Subject: [PATCH] fix(cmd) confusing prompt It says [Y/n], but doesn't take Y as default choice. --- kong/cmd/migrations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/cmd/migrations.lua b/kong/cmd/migrations.lua index 433e7221a30d..e5e4e24b99ae 100644 --- a/kong/cmd/migrations.lua +++ b/kong/cmd/migrations.lua @@ -64,7 +64,7 @@ local function confirm_prompt(q) } while MAX > 0 do - io.write("> " .. q .. " [Y/n] ") + io.write("> " .. q .. " [y/n] ") local a = io.read("*l") if ANSWERS[a] ~= nil then return ANSWERS[a]