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
|
@ -281,6 +281,13 @@ confirmation before deleting a task, performing bulk changes, or the undo
|
|||
command. The default value is "yes". Consider leaving this setting as "yes",
|
||||
for safety.
|
||||
|
||||
.TP
|
||||
.B allow.empty.filter=yes
|
||||
An empty filter combined with a write command is potentially a way to modify
|
||||
all tasks by mistkae, and when this is detected, confirmation is required.
|
||||
Setting this to 'no' means that it is an error to use a write command with no
|
||||
filter.
|
||||
|
||||
.TP
|
||||
.B indent.annotation=2
|
||||
Controls the number of spaces to indent annotations when shown beneath the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue