mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdLog
- Converted from A3 modifications to Task::modify.
This commit is contained in:
parent
6291f16e1d
commit
58bf88f425
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue