- A helper command (e.g. _ids) should be considered a "cmd", "readcmd" and
  "helper" entity.
This commit is contained in:
Paul Beckingham 2014-05-26 23:06:32 -04:00
parent 38fdbdaa50
commit a32f2f991a
2 changed files with 18 additions and 17 deletions

View file

@ -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);