diff --git a/src/commands/CmdImport.cpp b/src/commands/CmdImport.cpp index c903f175e..48c5e5770 100644 --- a/src/commands/CmdImport.cpp +++ b/src/commands/CmdImport.cpp @@ -55,7 +55,7 @@ int CmdImport::execute (std::string& output) int count = 0; // Get filenames from command line arguments. - std::vector words = context.cli.getWords (); + std::vector words = context.cli2.getWords (); if (! words.size () || (words.size () == 1 && words[0] == "-")) { // No files or only "-" specified, import tasks from STDIN.