From 07336450a97c8a5f44939f8b3ea3cbcd3acab14b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Oct 2014 22:31:21 -0400 Subject: [PATCH] CLI - Converted CmdTimesheet from Parser to CLI. --- src/commands/CmdTimesheet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);;