projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9081418
)
Fixed the help subcommand to return the correct exit status upon execution
author
Junji Takakura
<j.takakura@gmail.com>
Fri, 8 Dec 2023 09:22:11 +0000
(18:22 +0900)
committer
Junji Takakura
<j.takakura@gmail.com>
Fri, 8 Dec 2023 09:22:11 +0000
(18:22 +0900)
compiler/src/onyx.c
patch
|
blob
|
history
diff --git
a/compiler/src/onyx.c
b/compiler/src/onyx.c
index ea72c96893d1283f574b0ddc34068870af07af1c..4c9308c5aec9df15aa8431ea2da47e92456b2a94 100644
(file)
--- 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: {