mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Feature: Error on virtual tag modification attempt
- An attempt to add or remove a virtual tag is now an error (thanks to Scott M).
This commit is contained in:
parent
1824a542f6
commit
f96a42d8b0
16 changed files with 57 additions and 5 deletions
|
@ -303,6 +303,7 @@ int CmdInfo::execute (std::string& output)
|
|||
// Virtual tags.
|
||||
{
|
||||
// Note: This list must match that in Task::hasTag.
|
||||
// Note: This list must match that in ::feedback_reserved_tags.
|
||||
std::string virtualTags = "";
|
||||
if (task.hasTag ("ACTIVE")) virtualTags += "ACTIVE ";
|
||||
if (task.hasTag ("ANNOTATED")) virtualTags += "ANNOTATED ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue