mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
CmdColor: Converted from CLI to CLI2
This commit is contained in:
parent
f718ec90a5
commit
672b6b0c66
1 changed files with 1 additions and 1 deletions
|
@ -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.cli.getWords ();
|
std::vector <std::string> words = context.cli2.getWords ();
|
||||||
for (auto& word : words)
|
for (auto& word : words)
|
||||||
if (closeEnough ("legend", word))
|
if (closeEnough ("legend", word))
|
||||||
legend = true;
|
legend = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue