mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 20:23:55 +00:00
Fixing format of new example
This commit is contained in:
parent
b010775051
commit
29b36857fd
@ -21,7 +21,7 @@ int main(int argc, char **argv) {
|
|||||||
test.parse(argc, argv);
|
test.parse(argc, argv);
|
||||||
if(*help)
|
if(*help)
|
||||||
throw CLI::CallForHelp();
|
throw CLI::CallForHelp();
|
||||||
} catch (const CLI::Error &e) {
|
} catch(const CLI::Error &e) {
|
||||||
std::cout << "Option string:" << some_option << std::endl;
|
std::cout << "Option string:" << some_option << std::endl;
|
||||||
return test.exit(e);
|
return test.exit(e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user