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:
Paul Beckingham 2015-06-27 18:38:24 -04:00
parent 1824a542f6
commit f96a42d8b0
16 changed files with 57 additions and 5 deletions

View file

@ -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 ";