mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-27 12:16:21 +02:00
Task: Improved method signature
This commit is contained in:
parent
fab2979b87
commit
7e629ef30a
10 changed files with 21 additions and 49 deletions
|
@ -134,9 +134,7 @@ int CmdInfo::execute (std::string& output)
|
|||
std::string description = task.get ("description");
|
||||
int indent = context.config.getInteger ("indent.annotation");
|
||||
|
||||
std::map <std::string, std::string> annotations;
|
||||
task.getAnnotations (annotations);
|
||||
for (auto& anno : annotations)
|
||||
for (auto& anno : task.getAnnotations ())
|
||||
description += '\n'
|
||||
+ std::string (indent, ' ')
|
||||
+ Datetime (anno.first.substr (11)).toString (dateformatanno)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue