CmdCalendar

- Converted from Parser to CLI.
This commit is contained in:
Paul Beckingham 2014-10-25 23:19:47 -04:00
parent 5cb753fd23
commit 0fa0829670

View file

@ -335,7 +335,7 @@ int CmdCalendar::execute (std::string& output)
if (context.commands.find (report) == context.commands.end ())
throw std::string (STRING_ERROR_DETAILS);
std::string executable = context.parser.tree ()->_branches[0]->attribute ("raw");
std::string executable = context.cli._args[0].attribute ("raw");
std::vector <std::string> args;
args.push_back ("rc:" + context.rc_file._data);