> 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:28:18  up 3 days 19:29,  2 users,  load average: 0.68, 0.51, 0.49
This commit is contained in:
tracer-ysyx 2024-01-11 20:28:18 +08:00 committed by xinyangli
parent e22f28b1c6
commit 4a991f9773

View file

@ -169,6 +169,10 @@ static int cmd_help(char *args) {
printf("%s ", cmd_table[i].name);
if (cmd_help_print(args, cmd_table[i].subcommand, cmd_table[i].nr_subcommand) == -1) {
printf("-- %s\n", cmd_table[i].description);
// Print available subcommands
for (int j = 0; j < cmd_table[i].nr_subcommand; j++) {
}
}
return 0;
}