mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdAdd: Display a specific feedback message for recurrence template tasks
This commit is contained in:
parent
724a4a02a0
commit
72f8fec136
10 changed files with 17 additions and 0 deletions
|
@ -65,10 +65,18 @@ int CmdAdd::execute (std::string& output)
|
|||
status == Task::waiting))
|
||||
output += format (STRING_CMD_ADD_FEEDBACK, task.id) + "\n";
|
||||
|
||||
else if (context.verbose ("new-id") &&
|
||||
status == Task::recurring)
|
||||
output += format (STRING_CMD_ADD_RECUR, task.id) + "\n";
|
||||
|
||||
else if (context.verbose ("new-uuid") &&
|
||||
status != Task::recurring)
|
||||
output += format (STRING_CMD_ADD_FEEDBACK, task.get ("uuid")) + "\n";
|
||||
|
||||
else if (context.verbose ("new-uuid") &&
|
||||
status == Task::recurring)
|
||||
output += format (STRING_CMD_ADD_RECUR, task.get ("uuid")) + "\n";
|
||||
|
||||
if (context.verbose ("project"))
|
||||
context.footnote (onProjectChange (task));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue