1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 04:33:53 +00:00

Fix for error when running subcommands

This commit is contained in:
Henry Fredrick Schreiner 2017-01-26 15:39:48 -05:00
parent 52e2a3db75
commit 8ab3c8e7c8

View File

@ -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 <typename T>
@ -483,7 +483,7 @@ public:
parse(args);
}
void parse(std::vector<std::string> args) {
void parse(std::vector<std::string> & args) {
parsed = true;
bool positional_only = false;