mirror of
https://github.com/modelec/cpp-lib.git
synced 2026-01-18 16:17:22 +01:00
template
This commit is contained in:
@@ -7,7 +7,7 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
CLParser parser(argc, argv);
|
||||
|
||||
int port = parser.getOption("port", 8080);
|
||||
int port = parser.getOption<int>("port", 8080);
|
||||
|
||||
bool loggerMode = parser.hasOption("logger");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user