From 5b0197300f2974e9ddd569e712a9e3f5be0b1d14 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 24 Jul 2011 16:55:32 -0400 Subject: [PATCH] Arguments - Converted from Arguments to A3. --- src/commands/CmdConfig.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdConfig.cpp b/src/commands/CmdConfig.cpp index 05e961b88..8c20a663d 100644 --- a/src/commands/CmdConfig.cpp +++ b/src/commands/CmdConfig.cpp @@ -51,7 +51,7 @@ int CmdConfig::execute (std::string& output) std::stringstream out; // Get the non-attribute, non-fancy command line arguments. - Arguments words = context.args.extract_simple_words (); + std::vector words = context.a3.extract_words (); // Support: // task config name value # set name to value @@ -59,7 +59,7 @@ int CmdConfig::execute (std::string& output) // task config name # remove name if (words.size ()) { - std::string name = words[0]._first; + std::string name = words[0]; std::string value = ""; if (words.size () > 1) @@ -69,7 +69,7 @@ int CmdConfig::execute (std::string& output) if (i > 1) value += " "; - value += words[i]._first; + value += words[i]; } }