CmdColor: Converted from CLI to CLI2

This commit is contained in:
Paul Beckingham 2015-06-16 21:46:41 -04:00
parent f718ec90a5
commit 672b6b0c66

View file

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