diff --git a/src/commands/CmdCalendar.cpp b/src/commands/CmdCalendar.cpp index 5a66b2d13..4011b610c 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.cli.getWords (); + std::vector words = context.cli2.getWords (); for (auto& arg : words) {