mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdColor: Code cleanup
This commit is contained in:
parent
d3a037231f
commit
f38446138c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue