Bug
- The edit command included two entries for the tags, parsing then only found the first.
This commit is contained in:
12
src/edit.cpp
12
src/edit.cpp
@@ -145,13 +145,15 @@ static std::string formatTask (Task task)
|
|||||||
join (allTags, " ", tags);
|
join (allTags, " ", tags);
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
before << "# Separate the tags with spaces, like this: tag1 tag2\n"
|
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 << " Tags: " << allTags << "\n";
|
||||||
|
|
||||||
|
if (verbose)
|
||||||
|
before << "# The description field is allowed to wrap and use multiple lines. Task\n"
|
||||||
<< "# will combine them.\n";
|
<< "# will combine them.\n";
|
||||||
|
|
||||||
before << " Tags: " << allTags << "\n"
|
before << " Description: " << task.get ("description") << "\n"
|
||||||
<< " Description: " << task.get ("description") << "\n"
|
|
||||||
<< " Created: " << formatDate (task, "entry") << "\n"
|
<< " Created: " << formatDate (task, "entry") << "\n"
|
||||||
<< " Started: " << formatDate (task, "start") << "\n"
|
<< " Started: " << formatDate (task, "start") << "\n"
|
||||||
<< " Ended: " << formatDate (task, "end") << "\n"
|
<< " Ended: " << formatDate (task, "end") << "\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user