mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CLI: Integrated ID args
This commit is contained in:
parent
5ee1aa8c9c
commit
8371ce7937
1 changed files with 4 additions and 0 deletions
|
@ -261,6 +261,7 @@ void CLI::analyze ()
|
||||||
handleArg0 ();
|
handleArg0 ();
|
||||||
lexArguments ();
|
lexArguments ();
|
||||||
identifyOverrides ();
|
identifyOverrides ();
|
||||||
|
identifyIds ();
|
||||||
canonicalizeNames ();
|
canonicalizeNames ();
|
||||||
identifyFilter ();
|
identifyFilter ();
|
||||||
}
|
}
|
||||||
|
@ -468,6 +469,9 @@ void CLI::identifyFilter ()
|
||||||
if (a.hasTag ("HINT"))
|
if (a.hasTag ("HINT"))
|
||||||
a.tag ("FILTER");
|
a.tag ("FILTER");
|
||||||
|
|
||||||
|
else if (a.hasTag ("ID"))
|
||||||
|
a.tag ("FILTER");
|
||||||
|
|
||||||
else if (a._lextype == Lexer::Type::date ||
|
else if (a._lextype == Lexer::Type::date ||
|
||||||
a._lextype == Lexer::Type::duration)
|
a._lextype == Lexer::Type::duration)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue