mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-09-15 12:47:57 +08:00
exit(0) for --help
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user