mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
_tags: Print virtual tags too.
This commit is contained in:
parent
bfbd3b4768
commit
b6bf4e6072
2 changed files with 26 additions and 0 deletions
|
@ -676,6 +676,7 @@ are:
|
|||
PENDING Matches if the task has pending status
|
||||
COMPLETED Matches if the task has completed status
|
||||
DELETED Matches if the task has deleted status
|
||||
.\" If you update the above list, update src/commands/CmdTags.cpp as well.
|
||||
|
||||
You can use +BLOCKED to filter blocked tasks, or -BLOCKED for unblocked tasks.
|
||||
Similarly, -BLOCKED is equivalent to +UNBLOCKED. It is an error to attempt to
|
||||
|
|
|
@ -177,6 +177,31 @@ int CmdCompletionTags::execute (std::string& output)
|
|||
unique["nonag"] = 0;
|
||||
unique["nocal"] = 0;
|
||||
unique["next"] = 0;
|
||||
unique["BLOCKED"] = 0;
|
||||
unique["UNBLOCKED"] = 0;
|
||||
unique["BLOCKING"] = 0;
|
||||
unique["YESTERDAY"] = 0;
|
||||
unique["DUE"] = 0;
|
||||
unique["DUETODAY"] = 0;
|
||||
unique["TODAY"] = 0;
|
||||
unique["TOMORROW"] = 0;
|
||||
unique["WEEK"] = 0;
|
||||
unique["MONTH"] = 0;
|
||||
unique["YEAR"] = 0;
|
||||
unique["OVERDUE"] = 0;
|
||||
unique["ACTIVE"] = 0;
|
||||
unique["SCHEDULED"] = 0;
|
||||
unique["READY"] = 0;
|
||||
unique["PARENT"] = 0;
|
||||
unique["CHILD"] = 0;
|
||||
unique["UNTIL"] = 0;
|
||||
unique["WAITING"] = 0;
|
||||
unique["ANNOTATED"] = 0;
|
||||
unique["TAGGED"] = 0;
|
||||
unique["PENDING"] = 0;
|
||||
unique["COMPLETED"] = 0;
|
||||
unique["DELETED"] = 0;
|
||||
// If you update this list, update doc/man/task.1.in as well.
|
||||
|
||||
std::stringstream out;
|
||||
for (auto& it : unique)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue