summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-01 18:14:56 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-01 18:14:56 +0100
commit6ff1101376d1b986a35d001866ab9e3a28af04a2 (patch)
treedbb65b4a6944a028eb81b04d293285a37a3dc607 /src/lib
parent91d4a8e82a178abe7caa6b3f8c6466554b710161 (diff)
formatting fixes
Diffstat (limited to 'src/lib')
-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