- Converted CmdColor from Parser to CLI.
This commit is contained in:
Paul Beckingham 2014-10-25 22:23:47 -04:00
parent 67581187ae
commit 54ce4e8a59

View file

@ -54,7 +54,7 @@ int CmdColor::execute (std::string& output)
#ifdef FEATURE_COLOR #ifdef FEATURE_COLOR
// Get the non-attribute, non-fancy command line arguments. // Get the non-attribute, non-fancy command line arguments.
bool legend = false; bool legend = false;
std::vector <std::string> words = context.parser.getWords (); std::vector <std::string> words = context.cli.getWords ();
std::vector <std::string>::iterator word; std::vector <std::string>::iterator word;
for (word = words.begin (); word != words.end (); ++word) for (word = words.begin (); word != words.end (); ++word)
if (closeEnough ("legend", *word)) if (closeEnough ("legend", *word))