- Converted CmdShow from Parser to CLI.
This commit is contained in:
Paul Beckingham 2014-10-25 22:28:15 -04:00
parent 624e5e7376
commit 68b59d1ac7

View file

@ -56,7 +56,7 @@ int CmdShow::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 () > 1)
throw std::string (STRING_CMD_SHOW_ARGS);