diff --git a/eo/test/t-eoPareto.cpp b/eo/test/t-eoPareto.cpp index 15c5149e..1057a12c 100644 --- a/eo/test/t-eoPareto.cpp +++ b/eo/test/t-eoPareto.cpp @@ -171,6 +171,12 @@ void the_main(int argc, char* argv[]) // the algo eoEasyEA ea(cp, eval, breeder, replace); + if (parser.userNeedsHelp()) + { + parser.printHelp(cout); + return; + } + apply(eval, pop); ea(pop); }