From 48efc50e886beb86764613c827a991c972279fca Mon Sep 17 00:00:00 2001 From: LaGrunge Date: Mon, 30 Sep 2019 11:08:02 +0000 Subject: [PATCH] Correct exit codes for helpers --- generator/generator_tool/generator_tool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/generator_tool/generator_tool.cpp b/generator/generator_tool/generator_tool.cpp index f3a7ebe..180dba3 100644 --- a/generator/generator_tool/generator_tool.cpp +++ b/generator/generator_tool/generator_tool.cpp @@ -193,13 +193,13 @@ CliCommandOptions DefineOptions(int argc, char * argv[]) if (vm.count("help")) { std::cout << optionsDescription << std::endl; - exit(1); + exit(0); } if (vm.count("version")) { std::cout << generator::DataVersion::GetCodeVersion() << std::endl; - exit(1); + exit(0); } return o;