> 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:25:38  up 3 days 19:26,  2 users,  load average: 0.53, 0.42, 0.47
This commit is contained in:
tracer-ysyx 2024-01-11 20:25:38 +08:00 committed by xinyangli
parent 094ac9557b
commit 06ccc28961

View file

@ -142,7 +142,6 @@ static int cmd_help_print(char *args, struct CMDTable* cur_cmd_table, int cur_nr
} else {
for (i = 0; i < cur_nr_cmd; i++) {
if (strcmp(arg, cur_cmd_table[i].name) == 0) {
printf("Subcommand \n");
printf("%s ", cur_cmd_table[i].name);
if (cmd_help_print(arg, cur_cmd_table[i].subcommand, cur_cmd_table[i].nr_subcommand) == -1) {
printf("-- %s\n", cur_cmd_table[i].description);