mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
CLI
- Converted CmdImport from Parser to CLI.
This commit is contained in:
parent
54ce4e8a59
commit
624e5e7376
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ int CmdImport::execute (std::string& output)
|
|||
int count = 0;
|
||||
|
||||
// Use the description as a file name.
|
||||
std::vector <std::string> words = context.parser.getWords ();
|
||||
std::vector <std::string> words = context.cli.getWords ();
|
||||
if (! words.size ())
|
||||
throw std::string (STRING_CMD_IMPORT_NOFILE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue