From: Junji Takakura Date: Fri, 8 Dec 2023 09:22:11 +0000 (+0900) Subject: Fixed the help subcommand to return the correct exit status upon execution X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=e83f7abaf6acfd3a9c7c78d4f5df14f7fc145566;p=onyx.git Fixed the help subcommand to return the correct exit status upon execution --- diff --git a/compiler/src/onyx.c b/compiler/src/onyx.c index ea72c968..4c9308c5 100644 --- a/compiler/src/onyx.c +++ b/compiler/src/onyx.c @@ -1175,7 +1175,7 @@ int main(int argc, char *argv[]) { } else { bh_printf(top_level_docstring); } - return 1; + return 0; } case ONYX_COMPILE_ACTION_PRINT_VERSION: {