mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Parser
- When locating a command, all nodes must be scanned, not just the unknown ones.
This commit is contained in:
parent
bea4c6fd77
commit
3eb611057d
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ std::string Parser::getLimit () const
|
|||
std::string Parser::getCommand () const
|
||||
{
|
||||
std::vector <Tree*> nodes;
|
||||
collect (nodes, false);
|
||||
collect (nodes, true);
|
||||
std::vector <Tree*>::iterator i;
|
||||
for (i = nodes.begin (); i != nodes.end (); ++i)
|
||||
if ((*i)->hasTag ("CMD"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue