- Converted CmdColumns from Parser to CLI.
This commit is contained in:
Paul Beckingham 2014-10-25 22:36:17 -04:00
parent b3c89ae6f8
commit d84b738940

View file

@ -51,7 +51,7 @@ int CmdColumns::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.parser.getWords (); std::vector <std::string> words = context.cli.getWords ();
if (words.size () > 1) if (words.size () > 1)
throw std::string (STRING_CMD_COLUMNS_ARGS); throw std::string (STRING_CMD_COLUMNS_ARGS);