From 67aaf8b0255c1f3116c4861eeaabf51a7b83dc53 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 10 Mar 2020 09:12:39 +0100 Subject: [PATCH] add option to exit after make_help + fix exit code - Defaults to previous behaviour, which was to exit. - Fix the returned exit code: was 1, but should be 0, as asking for help is not an error. --- eo/src/es/make_es.h | 2 +- eo/src/es/make_real.h | 2 +- eo/src/ga/make_ga.h | 2 +- eo/src/utils/checkpointing | 2 +- eo/src/utils/make_help.cpp | 6 ++++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/eo/src/es/make_es.h b/eo/src/es/make_es.h index b1a8801a5..540609741 100644 --- a/eo/src/es/make_es.h +++ b/eo/src/es/make_es.h @@ -145,7 +145,7 @@ void run_ea(eoAlgo >& _ga, eoPop >& _ga, eoPop >& _ga, eoPop