aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2016-05-06 10:22:39 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2016-05-06 10:22:39 +0200
commit23abb2acd221762ec482985f91fa3eff1123fb9a (patch)
tree1c4cc5861b871bfeef2f597b67ecc83f778e2b3e
parent76fcc3b460d489cf8a1aad4be06b49d19bb138df (diff)
downloadzero-of-one-23abb2acd221762ec482985f91fa3eff1123fb9a.zip
zero-of-one-23abb2acd221762ec482985f91fa3eff1123fb9a.tar.bz2
Fixes '--help' parameter not exiting ZoO.
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 34233d6..40b3705 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -43,7 +43,7 @@ static int initialize
return -1;
}
- if (ZoO_parameters_initialize(&(s->param), argc, argv) < 0)
+ if (ZoO_parameters_initialize(&(s->param), argc, argv) < 1)
{
ZoO_knowledge_finalize(&(s->knowledge));