CmdTimesheet: Converted from CLI to CLI2

This commit is contained in:
Paul Beckingham 2015-06-16 21:54:38 -04:00
parent bbaf8f4572
commit cbf20217dc

View file

@ -72,7 +72,7 @@ int CmdTimesheet::execute (std::string& output)
// Determine how many reports to run. // Determine how many reports to run.
int quantity = 1; int quantity = 1;
std::vector <std::string> words = context.cli.getWords (); std::vector <std::string> words = context.cli2.getWords ();
if (words.size () == 1) if (words.size () == 1)
quantity = strtol (words[0].c_str (), NULL, 10);; quantity = strtol (words[0].c_str (), NULL, 10);;