mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Bug: The 'filter' verbosity token code was missing
- Probbably cut out during the CLI --> CLI2 cutover.
This commit is contained in:
parent
7c59bd5a1d
commit
d5002ab400
1 changed files with 17 additions and 0 deletions
17
src/CLI2.cpp
17
src/CLI2.cpp
|
@ -663,6 +663,23 @@ void CLI2::prepareFilter ()
|
||||||
desugarFilterAttributes ();
|
desugarFilterAttributes ();
|
||||||
desugarFilterPatterns ();
|
desugarFilterPatterns ();
|
||||||
insertJunctions (); // Deliberately after all desugar calls.
|
insertJunctions (); // Deliberately after all desugar calls.
|
||||||
|
|
||||||
|
if (context.verbose ("filter"))
|
||||||
|
{
|
||||||
|
std::string combined;
|
||||||
|
for (auto& a : _args)
|
||||||
|
{
|
||||||
|
if (a.hasTag ("FILTER"))
|
||||||
|
{
|
||||||
|
if (combined != "")
|
||||||
|
combined += " ";
|
||||||
|
|
||||||
|
combined += a.attribute ("raw");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
context.footnote (std::string (STRING_COLUMN_LABEL_FILTER) + ": " + combined);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue