- Migrated handleVersion to CmdVersion.
This commit is contained in:
Paul Beckingham 2011-05-24 20:43:50 -04:00
parent d892a0cbd2
commit fc77e04b54
9 changed files with 174 additions and 86 deletions

View file

@ -250,7 +250,6 @@ int Context::dispatch (std::string &out)
// TODO Chain-of-command pattern dispatch.
if (cmd.command == "projects") { rc = handleProjects (out); }
else if (cmd.command == "colors") { rc = handleColor (out); }
else if (cmd.command == "version") { rc = handleVersion (out); }
else if (cmd.command == "config") { rc = handleConfig (out); }
else if (cmd.command == "show") { rc = handleShow (out); }
else if (cmd.command == "stats") { rc = handleReportStats (out); }