TW-294
- TW-294 Display UUID of task created by add (thanks to John West).
This commit is contained in:
@@ -55,7 +55,10 @@ int CmdAdd::execute (std::string& output)
|
||||
context.tdb2.add (task);
|
||||
|
||||
if (context.verbose ("new-id"))
|
||||
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
|
||||
output += format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
|
||||
|
||||
if (context.verbose ("new-uuid"))
|
||||
output += format (STRING_CMD_ADD_FEEDBACK, task.get ("uuid")) + "\n";
|
||||
|
||||
if (context.verbose ("project"))
|
||||
context.footnote (onProjectChange (task));
|
||||
|
||||
Reference in New Issue
Block a user