diff --git a/src/commands/CmdTimesheet.cpp b/src/commands/CmdTimesheet.cpp index d6e1c1dcf..117503b09 100644 --- a/src/commands/CmdTimesheet.cpp +++ b/src/commands/CmdTimesheet.cpp @@ -72,7 +72,7 @@ int CmdTimesheet::execute (std::string& output) // Determine how many reports to run. int quantity = 1; - std::vector words = context.parser.getWords (); + std::vector words = context.cli.getWords (); if (words.size () == 1) quantity = strtol (words[0].c_str (), NULL, 10);;