mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Confirmation
- Removed confirmation override imposed by the 'delete' command. Consistency prevails.
This commit is contained in:
parent
23991f72da
commit
548272fb3a
3 changed files with 7 additions and 8 deletions
|
@ -596,7 +596,7 @@ bool Command::permission (
|
|||
return answer;
|
||||
}
|
||||
|
||||
// Quantity < bulk modifications have optional confirmation, in the (y/n/a/q)
|
||||
// 1 < Quantity < bulk modifications have optional confirmation, in the (y/n/a/q)
|
||||
// style.
|
||||
if (quantity < bulk && !confirmation)
|
||||
return true;
|
||||
|
@ -608,7 +608,6 @@ bool Command::permission (
|
|||
case 1: return true; // yes
|
||||
case 2: _permission_all = true; return true; // all
|
||||
case 3: _permission_quit = true; return false; // quit
|
||||
case 4: return false; // no
|
||||
}
|
||||
|
||||
return false; // This line keeps the compiler happy.
|
||||
|
|
|
@ -815,7 +815,7 @@
|
|||
"\n"
|
||||
|
||||
// util
|
||||
#define STRING_UTIL_CONFIRM_YN " (y/n) "
|
||||
#define STRING_UTIL_CONFIRM_YN " (yes/no) "
|
||||
#define STRING_UTIL_CONFIRM_YES "yes"
|
||||
#define STRING_UTIL_CONFIRM_YES_U "Yes"
|
||||
#define STRING_UTIL_CONFIRM_NO "no"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue