Actions
Feature #1845
closedsmdelete prompt should accept partial answer
Start date:
08/09/2011
Due date:
% Done:
90%
Estimated time:
0.12 h
Description
smdelete enforces answer as full lower-case. For inattentive users, it may quit silently when ansered a single "y" :
canehan@ccxc:~(0)% smdelete -table machine_name -name ccxrtsn001 --really-remove Really Delete ccxrtsn001 [yes/no] [no] y canehan@ccxc:~(0)%
Normal termination, return code 0, nothing deleted although it was meant.
Included patch permits positive answers from "y" to "YES".
Files
Updated by Wernli Fabien over 12 years ago
- Status changed from New to Resolved
resolved using qr/^y(es)?/i
Actions