CmdColor: Code cleanup

This commit is contained in:
Paul Beckingham 2017-01-28 17:53:05 -05:00
parent d3a037231f
commit f38446138c

View file

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