mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-10-11 07:30:56 +08:00
exit(0) for --help
This commit is contained in:
@@ -11,7 +11,7 @@ int main(int argc, char *argv[])
|
|||||||
int i, ret;
|
int i, ret;
|
||||||
yak_reset_realtime();
|
yak_reset_realtime();
|
||||||
init_opt(&asm_opt);
|
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();
|
ret = ha_assemble();
|
||||||
destory_opt(&asm_opt);
|
destory_opt(&asm_opt);
|
||||||
fprintf(stderr, "[M::%s] Version: %s\n", __func__, HA_VERSION);
|
fprintf(stderr, "[M::%s] Version: %s\n", __func__, HA_VERSION);
|
||||||
|
|||||||
Reference in New Issue
Block a user