mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI
- PSEUDO args are no longer considered FILTER.
This commit is contained in:
parent
7f3cc3897e
commit
5d790a07de
1 changed files with 1 additions and 3 deletions
|
@ -332,8 +332,7 @@ const std::string CLI::getFilter ()
|
||||||
std::vector <A>::const_iterator a;
|
std::vector <A>::const_iterator a;
|
||||||
for (a = _args.begin (); a != _args.end (); ++a)
|
for (a = _args.begin (); a != _args.end (); ++a)
|
||||||
{
|
{
|
||||||
if (a->hasTag ("FILTER") &&
|
if (a->hasTag ("FILTER"))
|
||||||
! a->hasTag ("PSEUDO"))
|
|
||||||
{
|
{
|
||||||
if (filter != "")
|
if (filter != "")
|
||||||
filter += ' ';
|
filter += ' ';
|
||||||
|
@ -647,7 +646,6 @@ void CLI::desugarAttributes ()
|
||||||
A left ("argUDA", name);
|
A left ("argUDA", name);
|
||||||
left.attribute ("name", canonical);
|
left.attribute ("name", canonical);
|
||||||
left.tag ("PSEUDO");
|
left.tag ("PSEUDO");
|
||||||
left.tag ("FILTER");
|
|
||||||
reconstructed.push_back (left);
|
reconstructed.push_back (left);
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue