- Converted from A3 modifications to Task::modify.
This commit is contained in:
Paul Beckingham 2014-05-25 17:30:49 -04:00
parent 6291f16e1d
commit 58bf88f425

View file

@ -50,9 +50,8 @@ int CmdLog::execute (std::string& output)
int rc = 0;
// Apply the command line modifications to the new task.
A3 modifications = context.a3.extract_modifications ();
Task task;
modify_task_description_replace (task, modifications);
task.modify (Task::modReplace);
task.setStatus (Task::completed);
// Recurring tasks get a special status.