- Converted CmdTimesheet from Parser to CLI.
This commit is contained in:
Paul Beckingham 2014-10-25 22:31:21 -04:00
parent eb9a6e9608
commit 07336450a9

View file

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