CmdLog: Display the UUID of the logged task

This commit is contained in:
Tomas Babej 2015-08-06 05:39:33 +02:00 committed by Paul Beckingham
parent 889e36116c
commit 7ba98ea241
3 changed files with 4 additions and 4 deletions

View file

@ -71,8 +71,8 @@ int CmdLog::execute (std::string& output)
if (context.verbose ("project"))
context.footnote (onProjectChange (task));
if (context.verbose ("affected"))
output = std::string (STRING_CMD_LOG_LOGGED) + "\n";
if (context.verbose ("new-uuid"))
output = format (STRING_CMD_LOG_LOGGED, task.get ("uuid")) + "\n";
return 0;
}