summaryrefslogtreecommitdiff
path: root/src/lib/lib-ui.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/lib-ui.sh')
-rw-r--r--src/lib/lib-ui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/lib-ui.sh b/src/lib/lib-ui.sh
index d3aa034..7fc611f 100644
--- a/src/lib/lib-ui.sh
+++ b/src/lib/lib-ui.sh
@@ -184,7 +184,7 @@ _cli_ask_password ()
_cli_ask_yesno ()
{
- echo -n "$1 (y/n)"
+ echo -n "$1 (y/n): "
read answer
answer=`tr '[:upper:]' '[:lower:]' <<< $answer`
if [ "$answer" = y -o "$answer" = yes ]
@@ -198,7 +198,7 @@ _cli_ask_yesno ()
_cli_ask_string ()
{
- echo "$@"
+ echo -n "$@: "
read answ
echo "$answ"
[ -z "$answ" ] && return 1