CmdGet: Converted form CLI to CLI2

This commit is contained in:
Paul Beckingham 2015-06-17 04:16:19 -04:00
parent 12825c5205
commit f6f89ac333

View file

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