diff --git a/src/commands/CmdTimesheet.cpp b/src/commands/CmdTimesheet.cpp index 616e2cbd1..23bfee6b1 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.cli.getWords (); + std::vector words = context.cli2.getWords (); if (words.size () == 1) quantity = strtol (words[0].c_str (), NULL, 10);;