From dc5f9e38a68ec304414de0f729e8c6f14907b040 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 19 Jun 2015 07:03:57 -0700 Subject: [PATCH] Context: Convert some CLI calls to CLI2 --- src/Context.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Context.cpp b/src/Context.cpp index e17166167..a3e7f718c 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -646,7 +646,7 @@ void Context::getLimits (int& rows, int& lines) void Context::staticInitialization () { CLI::minimumMatchLength = config.getInteger ("abbreviation.minimum"); - CLI2::minimumMatchLength = config.getInteger ("abbreviation.minimum"); + CLI2::minimumMatchLength = config.getInteger ("abbreviation.minimum"); Task::defaultProject = config.get ("default.project"); Task::defaultDue = config.get ("default.due"); @@ -753,7 +753,7 @@ void Context::updateXtermTitle () { if (config.getBoolean ("xterm.title") && isatty (STDOUT_FILENO)) { - std::string command = cli.getCommand (); + std::string command = cli2.getCommand (); std::string title; for (auto a = cli._args.begin (); a != cli._args.end (); ++a) @@ -772,7 +772,7 @@ void Context::updateXtermTitle () // This function allows a clean output if the command is a helper subcommand. void Context::updateVerbosity () { - std::string command = cli.getCommand (); + std::string command = cli2.getCommand (); if (command != "" && command[0] == '_') {