Enhancement - Integration

- Integrated Cmd object.
- Enhanced Context object with dispatch and shadow methods.
- Fixed bug in Context::parse.
- Implemented command parsing.
- Fixed Sequence bug, and unit tests.
This commit is contained in:
Paul Beckingham
2009-06-07 16:00:22 -04:00
parent 190c6b53fc
commit d702ba8f24
7 changed files with 128 additions and 35 deletions

View File

@@ -304,7 +304,7 @@ int main (int argc, char** argv)
try
{
context.initialize (argc, argv);
if (context.args[0].find ("itask") != std::string::npos)
if (context.program.find ("itask") != std::string::npos)
status = context.interactive ();
else
status = context.run ();