mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdCalc: Coneverted to CLI2::getWords
This commit is contained in:
parent
8894dc1244
commit
e36d358115
1 changed files with 1 additions and 1 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.cli.getWords ();
|
||||
std::vector <std::string> words = context.cli2.getWords ();
|
||||
for (auto& word : words)
|
||||
expression += word + " ";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue