mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +02:00
Safety Valve
- Added safety valve processing. Whenever a write-command omits a filter, the command will affect every task. This is dangerous. If rc.confirmation is disabled, the command is terminated.
This commit is contained in:
parent
f74c33dc02
commit
fa973f734b
4 changed files with 66 additions and 25 deletions
|
@ -63,6 +63,10 @@ protected:
|
|||
void modify_task_annotate (Task&, const A3&);
|
||||
void modify_task (Task&, const A3&, std::string&);
|
||||
|
||||
void safety ();
|
||||
|
||||
A3 group_arguments (const A3&);
|
||||
|
||||
protected:
|
||||
std::string _keyword;
|
||||
std::string _usage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue