mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Converted CmdTimesheet from Parser to CLI.
This commit is contained in:
parent
eb9a6e9608
commit
07336450a9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ int CmdTimesheet::execute (std::string& output)
|
|||
|
||||
// Determine how many reports to run.
|
||||
int quantity = 1;
|
||||
std::vector <std::string> words = context.parser.getWords ();
|
||||
std::vector <std::string> words = context.cli.getWords ();
|
||||
if (words.size () == 1)
|
||||
quantity = strtol (words[0].c_str (), NULL, 10);;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue