From 2f5bb14d33f0a1805f0da23788f1b7597b5458cb Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 24 Jul 2011 17:01:28 -0400 Subject: [PATCH] Arguments - Converted from Arguments to A3. --- src/commands/CmdImport.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdImport.cpp b/src/commands/CmdImport.cpp index 8127465ac..66de01e86 100644 --- a/src/commands/CmdImport.cpp +++ b/src/commands/CmdImport.cpp @@ -53,14 +53,14 @@ int CmdImport::execute (std::string& output) int rc = 0; // Use the description as a file name. - Arguments words = context.args.extract_simple_words (); + std::vector words = context.a3.extract_words (); if (! words.size ()) throw std::string ("You must specify a file to import."); - std::vector ::iterator word; + std::vector ::iterator word; for (word = words.begin (); word != words.end (); ++word) { - std::string file = word->_first; + std::string file = *word; std::cout << "Importing '" << file << "'\n"; std::string tmpfile = "";