From 8ab3c8e7c83fabde939030f4fb9a4611f4f09f8c Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Thu, 26 Jan 2017 15:39:48 -0500 Subject: [PATCH] Fix for error when running subcommands --- CLI.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CLI.hpp b/CLI.hpp index b93afc1b..a22029d6 100644 --- a/CLI.hpp +++ b/CLI.hpp @@ -17,7 +17,7 @@ namespace { void logit(std::string output) { - std::cout << "\033[1;31m" << output << "\033[0m" << std::endl; + //std::cout << "\033[1;31m" << output << "\033[0m" << std::endl; } template @@ -483,7 +483,7 @@ public: parse(args); } - void parse(std::vector args) { + void parse(std::vector & args) { parsed = true; bool positional_only = false;