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:
Paul Beckingham 2014-08-11 12:32:11 -04:00
parent c2ffee1352
commit 1ccc284cc7
12 changed files with 23 additions and 0 deletions

View file

@ -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