chore: 修改ask_input函数的提示语模板我

This commit is contained in:
Olia Lisa
2026-07-12 21:25:26 +08:00
parent 40c631166a
commit 82813ea218
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ ask_input() {
local prompt="$1"
local default="$2"
read -p "${prompt} [默认: ${default}]: " value
read -p "${prompt} [ 默认: ${default} ]: " value
if [ -z "$value" ]; then
echo "$default"
+1 -1
View File
@@ -42,7 +42,7 @@ ask_input() {
local prompt="$1"
local default="$2"
read -p "${prompt} [默认: ${default}]: " value
read -p "${prompt} [ 默认: ${default} ]: " value
if [ -z "$value" ]; then
echo "$default"
+1 -1
View File
@@ -198,7 +198,7 @@ ask_input() {
local prompt="$1"
local default="$2"
read -p "${prompt} [默认: ${default}]: " value
read -p "${prompt} [ 默认: ${default} ]: " value
if [ -z "$value" ]; then
echo "$default"
+1 -1
View File
@@ -224,7 +224,7 @@ ask_input() {
local prompt="$1"
local default="$2"
read -p "${prompt} [默认: ${default}]: " value
read -p "${prompt} [ 默认: ${default} ]: " value
if [ -z "$value" ]; then
echo "$default"