From fedafcd52590228d2b49b9bb2e478f4fe9e2a54c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Oct 2014 22:38:03 -0400 Subject: [PATCH] CLI - Converted CmdCalendar from Parser to CLI. --- src/commands/CmdCalendar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/CmdCalendar.cpp b/src/commands/CmdCalendar.cpp index b4eff37ba..97dd5cbc8 100644 --- a/src/commands/CmdCalendar.cpp +++ b/src/commands/CmdCalendar.cpp @@ -102,7 +102,7 @@ int CmdCalendar::execute (std::string& output) int argYear = 0; bool argWholeYear = false; - std::vector words = context.parser.getWords (); + std::vector words = context.cli.getWords (); std::vector ::iterator arg; for (arg = words.begin (); arg != words.end (); ++arg)