mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Converted CmdColor from Parser to CLI.
This commit is contained in:
parent
67581187ae
commit
54ce4e8a59
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.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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue