> 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:30:13  up 3 days 19:30,  2 users,  load average: 0.48, 0.52, 0.50
This commit is contained in:
tracer-ysyx 2024-01-11 20:30:13 +08:00 committed by xinyangli
parent ee735b67d2
commit 7d529b95c4

View file

@ -171,7 +171,8 @@ static int cmd_help(char *args) {
printf("-- %s\n", cmd_table[i].description);
// Print available subcommands
for (int j = 0; j < cmd_table[i].nr_subcommand; j++) {
struct CMDTable *sub_cmd_table = cmd_table[i].subcommand;
printf("\t %s -- %s", sub_cmd_table[j].name, sub_cmd_table[j].description);
}
}
return 0;