aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-14 15:17:13 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-14 15:17:13 +0100
commit5d3d384a5bf1e08951ed37ec5111314c1cce82dc (patch)
tree0251e71e31a25eff66431c81c84dc6127558d04d /lib
parent6238a0b2d98b59a99c5eab89b15d5686ba6858f3 (diff)
Better name: confirm_or_abort
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Fripost/Prompt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fripost/Prompt.pm b/lib/Fripost/Prompt.pm
index 4b11a19..ac40411 100755
--- a/lib/Fripost/Prompt.pm
+++ b/lib/Fripost/Prompt.pm
@@ -20,7 +20,7 @@ use String::MkPasswd qw/mkpasswd/;
our @EXPORT = qw(prompt_password prompt_username);
-sub ask_if_ok_or_abort {
+sub confirm_or_abort {
my ($msg) = @_;
$msg //= "Is this OK? [no will abort] ";
my $confirmed = prompt $msg, -ynt;