From 54ce4e8a59c3f389ea7e7a069a2bcfca0d539a25 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Oct 2014 22:23:47 -0400 Subject: [PATCH] CLI - Converted CmdColor from Parser to CLI. --- src/commands/CmdColor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))