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:
parent
52e2a3db75
commit
8ab3c8e7c8
4
CLI.hpp
4
CLI.hpp
@ -17,7 +17,7 @@
|
|||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
void logit(std::string output) {
|
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>
|
template <typename T>
|
||||||
@ -483,7 +483,7 @@ public:
|
|||||||
parse(args);
|
parse(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
void parse(std::vector<std::string> args) {
|
void parse(std::vector<std::string> & args) {
|
||||||
parsed = true;
|
parsed = true;
|
||||||
|
|
||||||
bool positional_only = false;
|
bool positional_only = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user