Little change in delete prompt
This commit is contained in:
parent
d8f15f4b3a
commit
4fdf287686
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue