> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
 20:12:07  up 3 days 19:12,  2 users,  load average: 0.23, 0.47, 0.55
This commit is contained in:
tracer-ysyx 2024-01-11 20:12:07 +08:00 committed by xinyangli
parent f49dad2a0e
commit a3466a3fec

View file

@ -147,7 +147,7 @@ static int cmd_help_print(char *args, struct CMDTable* cur_cmd_table) {
printf("%s ", cur_cmd_table[i].name);
if (cmd_help_print(args, cur_cmd_table->subcommand) == -1) {
// Last avaliable command
printf("-- %s", cur_cmd_table[i].description);
printf("-- %s\n", cur_cmd_table[i].description);
}
return 0;
}
@ -172,7 +172,7 @@ static int cmd_help(char *args) {
printf("%s ", cmd_table[i].name);
if (cmd_help_print(args, cmd_table[i].subcommand) == -1) {
// Last avaliable command
printf("-- %s", cmd_table[i].description);
printf("-- %s\n", cmd_table[i].description);
}
return 0;
}