- Migrated the _version command from handleCompletionVersion to
  CmdVersion.
This commit is contained in:
Paul Beckingham 2011-05-24 20:57:24 -04:00
parent fc77e04b54
commit 54d98a6b2d
8 changed files with 40 additions and 29 deletions

View file

@ -45,13 +45,14 @@ void Command::factory (std::map <std::string, Command*>& all)
{
Command* c;
c = new CmdExec (); all[c->keyword ()] = c;
c = new CmdHelp (); all[c->keyword ()] = c;
c = new CmdInstall (); all[c->keyword ()] = c;
c = new CmdLogo (); all[c->keyword ()] = c;
c = new CmdTags (); all[c->keyword ()] = c;
c = new CmdTip (); all[c->keyword ()] = c;
c = new CmdVersion (); all[c->keyword ()] = c;
c = new CmdExec (); all[c->keyword ()] = c;
c = new CmdHelp (); all[c->keyword ()] = c;
c = new CmdInstall (); all[c->keyword ()] = c;
c = new CmdLogo (); all[c->keyword ()] = c;
c = new CmdTags (); all[c->keyword ()] = c;
c = new CmdTip (); all[c->keyword ()] = c;
c = new CmdVersion (); all[c->keyword ()] = c;
c = new CmdCompletionVersion (); all[c->keyword ()] = c;
// Instantiate a command object for each custom report.
std::vector <std::string> variables;