Context
- A helper command (e.g. _ids) should be considered a "cmd", "readcmd" and "helper" entity.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user