Skip to content

Commit

Permalink
exit(0) for --help
Browse files Browse the repository at this point in the history
  • Loading branch information
chhylp123 committed Apr 29, 2021
1 parent 71e91f3 commit 9b31d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cpp
Expand Up @@ -11,7 +11,7 @@ int main(int argc, char *argv[])
int i, ret;
yak_reset_realtime();
init_opt(&asm_opt);
if (!CommandLine_process(argc, argv, &asm_opt)) return 1;
if (!CommandLine_process(argc, argv, &asm_opt)) return 0;
ret = ha_assemble();
destory_opt(&asm_opt);
fprintf(stderr, "[M::%s] Version: %s\n", __func__, HA_VERSION);
Expand Down

0 comments on commit 9b31d47

Please sign in to comment.