Little change in delete prompt

This commit is contained in:
pezcurrel 2022-12-20 23:02:53 +01:00
parent d8f15f4b3a
commit 4fdf287686

View file

@ -122,7 +122,7 @@ if ($opts['deleteinstswhere']) {
$cbuf=count($buf);
if ($cbuf>0) {
foreach ($buf as $row) echo($row['URI'].' (ID='.$row['ID'].')'.N);
echo('Do you really want to delete those '.$cbuf.' records? Enter «YES» to do it, anything else to not do it: ');
echo('Do you really want to delete those '.$cbuf.' record(s)? Enter «YES» to do it, anything else to not do it: ');
$inp=rtrim(fgets(STDIN));
if ($inp=='YES') {
$i=0;