- Converted from A3 modifications to Task::modify.
This commit is contained in:
Paul Beckingham 2014-05-25 17:12:32 -04:00
parent 3a71fac1ee
commit f2eb34d66a

View file

@ -51,7 +51,7 @@ int CmdAdd::execute (std::string& output)
// Apply the command line modifications to the new task.
Task task;
modify_task_description_replace (task, context.a3.extract_modifications ());
task.modify (Task::modReplace);
context.tdb2.add (task);
if (context.verbose ("new-id"))