mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 18:50:39 +02:00
Code Cleanup
- Replaced multiple Task:setX methods with Task::setAsNow (x).
This commit is contained in:
parent
cf5dbbb9ee
commit
b5f3cfd9a3
6 changed files with 15 additions and 47 deletions
|
@ -78,7 +78,7 @@ int CmdStart::execute (std::string& output)
|
|||
task->id,
|
||||
task->get ("description"));
|
||||
task->modify (Task::modAnnotate);
|
||||
task->setStart ();
|
||||
task->setAsNow ("start");
|
||||
|
||||
if (context.config.getBoolean ("journal.time"))
|
||||
task->addAnnotation (context.config.get ("journal.time.start.annotation"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue