diff --git a/src/commands/CmdColor.cpp b/src/commands/CmdColor.cpp index ca92c99f4..4cd87d0d7 100644 --- a/src/commands/CmdColor.cpp +++ b/src/commands/CmdColor.cpp @@ -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 words = context.parser.getWords (); + std::vector words = context.cli.getWords (); std::vector ::iterator word; for (word = words.begin (); word != words.end (); ++word) if (closeEnough ("legend", *word))