mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Converted CmdCalc from Parser to CLI.
This commit is contained in:
parent
11d9fcb49c
commit
67581187ae
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ int CmdCalc::execute (std::string& output)
|
|||
|
||||
// Compile all the args into one expression.
|
||||
std::string expression;
|
||||
std::vector <std::string> words = context.parser.getWords ();
|
||||
std::vector <std::string> words = context.cli.getWords ();
|
||||
std::vector <std::string>::iterator word;
|
||||
for (word = words.begin (); word != words.end (); ++word)
|
||||
expression += *word + " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue