CmdGet: Converted form CLI to CLI2
This commit is contained in:
@@ -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.cli.getWords ();
|
||||
std::vector <std::string> words = context.cli2.getWords (false);
|
||||
if (words.size () == 0)
|
||||
throw std::string (STRING_CMD_GET_NO_DOM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user