diff --git a/src/commands/CmdImport.cpp b/src/commands/CmdImport.cpp index 07f3b2494..e8ab87962 100644 --- a/src/commands/CmdImport.cpp +++ b/src/commands/CmdImport.cpp @@ -54,7 +54,7 @@ int CmdImport::execute (std::string& output) int count = 0; // Use the description as a file name. - std::vector words = context.parser.getWords (); + std::vector words = context.cli.getWords (); if (! words.size ()) throw std::string (STRING_CMD_IMPORT_NOFILE);