Commit 4bfc9912 authored by Mathieu Giraud's avatar Mathieu Giraud

CLI11_json.cpp: no main() for us

parent d2fd397d
......@@ -97,7 +97,7 @@ class ConfigJSON : public CLI::Config {
}
};
int main(int argc, char **argv) {
int testCLI11_json(int argc, char **argv) {
CLI::App app;
app.config_formatter(std::make_shared<ConfigJSON>());
......@@ -110,4 +110,6 @@ int main(int argc, char **argv) {
CLI11_PARSE(app, argc, argv);
std::cout << app.config_to_str(true, true) << std::endl;
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment