mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdImport: Converted from CLI to CLI2
This commit is contained in:
parent
72073b7515
commit
a24269a0c9
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ int CmdImport::execute (std::string& output)
|
|||
int count = 0;
|
||||
|
||||
// Get filenames from command line arguments.
|
||||
std::vector <std::string> words = context.cli.getWords ();
|
||||
std::vector <std::string> words = context.cli2.getWords ();
|
||||
if (! words.size () || (words.size () == 1 && words[0] == "-"))
|
||||
{
|
||||
// No files or only "-" specified, import tasks from STDIN.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue