mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Merge branch '1.9.4' of tasktools.org:task into 1.9.4
This commit is contained in:
commit
5317703dcc
2 changed files with 8 additions and 8 deletions
|
@ -599,7 +599,6 @@ int handleQuery (std::string& outs)
|
|||
// Note: "limit:" feature not supported.
|
||||
|
||||
// Compose output.
|
||||
outs = "[";
|
||||
std::vector <Task>::iterator t;
|
||||
for (t = tasks.begin (); t != tasks.end (); ++t)
|
||||
{
|
||||
|
@ -609,8 +608,7 @@ int handleQuery (std::string& outs)
|
|||
outs += t->composeJSON ();
|
||||
}
|
||||
|
||||
outs += "]\n";
|
||||
|
||||
outs += "\n";
|
||||
context.hooks.trigger ("post-query-command");
|
||||
}
|
||||
|
||||
|
|
12
src/edit.cpp
12
src/edit.cpp
|
@ -145,13 +145,15 @@ static std::string formatTask (Task task)
|
|||
join (allTags, " ", tags);
|
||||
|
||||
if (verbose)
|
||||
before << "# Separate the tags with spaces, like this: tag1 tag2\n"
|
||||
<< " Tags: " << allTags << "\n"
|
||||
<< "# The description field is allowed to wrap and use multiple lines. Task\n"
|
||||
before << "# Separate the tags with spaces, like this: tag1 tag2\n";
|
||||
|
||||
before << " Tags: " << allTags << "\n";
|
||||
|
||||
if (verbose)
|
||||
before << "# The description field is allowed to wrap and use multiple lines. Task\n"
|
||||
<< "# will combine them.\n";
|
||||
|
||||
before << " Tags: " << allTags << "\n"
|
||||
<< " Description: " << task.get ("description") << "\n"
|
||||
before << " Description: " << task.get ("description") << "\n"
|
||||
<< " Created: " << formatDate (task, "entry") << "\n"
|
||||
<< " Started: " << formatDate (task, "start") << "\n"
|
||||
<< " Ended: " << formatDate (task, "end") << "\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue