From 672b6b0c66b79a15546d45d38c43a6dc66a18ec1 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 16 Jun 2015 21:46:41 -0400 Subject: [PATCH] CmdColor: Converted from CLI to CLI2 --- 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 c99f87baa..f5860dae1 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.cli.getWords (); + std::vector words = context.cli2.getWords (); for (auto& word : words) if (closeEnough ("legend", word)) legend = true;