mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Parser
- ::findCommand failed to sport readcmd and helper commands because of a copy/paste error.
This commit is contained in:
parent
9106780260
commit
7d69c687b2
1 changed files with 3 additions and 6 deletions
|
@ -307,12 +307,9 @@ void Parser::findCommand ()
|
|||
(*i)->tag ("CMD");
|
||||
(*i)->attribute ("canonical", command);
|
||||
|
||||
if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
||||
(*i)->tag ("WRITECMD");
|
||||
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
||||
(*i)->tag ("READCMD");
|
||||
else if (exactMatch ("writecmd", (*i)->attribute ("raw")))
|
||||
(*i)->tag ("HELPER");
|
||||
if (exactMatch ("writecmd", command)) (*i)->tag ("WRITECMD");
|
||||
else if (exactMatch ("readcmd", command)) (*i)->tag ("READCMD");
|
||||
else if (exactMatch ("helper", command)) (*i)->tag ("HELPER");
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue