From e83f7abaf6acfd3a9c7c78d4f5df14f7fc145566 Mon Sep 17 00:00:00 2001 From: Junji Takakura Date: Fri, 8 Dec 2023 18:22:11 +0900 Subject: [PATCH] Fixed the help subcommand to return the correct exit status upon execution --- compiler/src/onyx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: { -- 2.25.1