mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Safety Valve Override
- Support 'allow.empty.filter', defaulting to 'yes', but if 'no' disallows the combination of a write command and an empty filter. Ordinarily this is just a warning that requires confirmation (thanks to Lee Lieske).
This commit is contained in:
parent
c2ffee1352
commit
1ccc284cc7
12 changed files with 23 additions and 0 deletions
|
@ -842,6 +842,7 @@
|
|||
#define STRING_TASK_VALID_PRIORITY "Priority values may be 'H', 'M' or 'L', not '{1}'."
|
||||
#define STRING_TASK_SAFETY_VALVE "This command has no filter, and will modify all tasks. Are you sure?"
|
||||
#define STRING_TASK_SAFETY_FAIL "Command prevented from running."
|
||||
#define STRING_TASK_SAFETY_ALLOW "You did not specify a filter, and with the 'allow.empty.filter' value, no action is taken."
|
||||
|
||||
// TDB2
|
||||
#define STRING_TDB2_PARSE_ERROR " in {1} at line {2}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue