mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context
- A helper command (e.g. _ids) should be considered a "cmd", "readcmd" and "helper" entity.
This commit is contained in:
parent
38fdbdaa50
commit
a32f2f991a
2 changed files with 18 additions and 17 deletions
|
@ -160,7 +160,8 @@ int Context::initialize (int argc, const char** argv)
|
|||
|
||||
if (cmd->first[0] == '_')
|
||||
parser.entity ("helper", cmd->first);
|
||||
else if (cmd->second->read_only ())
|
||||
|
||||
if (cmd->second->read_only ())
|
||||
parser.entity ("readcmd", cmd->first);
|
||||
else
|
||||
parser.entity ("writecmd", cmd->first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue