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:
Paul Beckingham 2011-09-04 08:44:22 -04:00
parent f74c33dc02
commit fa973f734b
4 changed files with 66 additions and 25 deletions

View file

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