mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdStart
- Converted from A3 modifications to Task::modify.
This commit is contained in:
parent
e0e71bb065
commit
350b73cb8c
1 changed files with 1 additions and 5 deletions
|
@ -62,9 +62,6 @@ int CmdStart::execute (std::string& output)
|
|||
return 1;
|
||||
}
|
||||
|
||||
// Apply the command line modifications to the new task.
|
||||
A3 modifications = context.a3.extract_modifications ();
|
||||
|
||||
// Accumulated project change notifications.
|
||||
std::map <std::string, std::string> projectChanges;
|
||||
|
||||
|
@ -80,8 +77,7 @@ int CmdStart::execute (std::string& output)
|
|||
std::string question = format (STRING_CMD_START_CONFIRM,
|
||||
task->id,
|
||||
task->get ("description"));
|
||||
|
||||
modify_task_annotate (*task, modifications);
|
||||
task->modify (Task::modAnnotate);
|
||||
task->setStart ();
|
||||
|
||||
if (context.config.getBoolean ("journal.time"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue