mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdCustom
- Custom report filters are now tagged acordingly in the parse tree.
This commit is contained in:
parent
3cb10a4850
commit
ca887131a4
1 changed files with 6 additions and 1 deletions
|
@ -86,8 +86,14 @@ int CmdCustom::execute (std::string& output)
|
|||
splitq (filterArgs, reportFilter, ' ');
|
||||
std::vector <std::string>::reverse_iterator arg;
|
||||
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
|
||||
{
|
||||
context.a3.capture_first (*arg);
|
||||
|
||||
Tree* t = context.a3t.capture_first (*arg);
|
||||
t->tag ("CUSTOM");
|
||||
t->tag ("FILTER");
|
||||
}
|
||||
|
||||
context.a3.categorize ();
|
||||
context.a3.dump ("A3::categorize");
|
||||
|
||||
|
@ -127,7 +133,6 @@ int CmdCustom::execute (std::string& output)
|
|||
}
|
||||
|
||||
// How many lines taken up by table header?
|
||||
// TODO Consider rc.verbose
|
||||
int table_header = 0;
|
||||
if (context.verbose ("label"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue