> 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:
parent
e22f28b1c6
commit
4a991f9773
1 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,10 @@ static int cmd_help(char *args) {
|
||||||
printf("%s ", cmd_table[i].name);
|
printf("%s ", cmd_table[i].name);
|
||||||
if (cmd_help_print(args, cmd_table[i].subcommand, cmd_table[i].nr_subcommand) == -1) {
|
if (cmd_help_print(args, cmd_table[i].subcommand, cmd_table[i].nr_subcommand) == -1) {
|
||||||
printf("-- %s\n", cmd_table[i].description);
|
printf("-- %s\n", cmd_table[i].description);
|
||||||
|
// Print available subcommands
|
||||||
|
for (int j = 0; j < cmd_table[i].nr_subcommand; j++) {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue