- Converted CmdGet from Parser to CLI.
This commit is contained in:
Paul Beckingham 2014-10-25 22:32:59 -04:00
parent 07336450a9
commit 30f46ca5e7

View file

@ -49,7 +49,7 @@ int CmdGet::execute (std::string& output)
{
// Obtain the arguments from the description. That way, things like '--'
// have already been handled.
std::vector <std::string> words = context.parser.getWords ();
std::vector <std::string> words = context.cli.getWords ();
if (words.size () == 0)
throw std::string (STRING_CMD_GET_NO_DOM);