> 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:
parent
094ac9557b
commit
06ccc28961
1 changed files with 0 additions and 1 deletions
|
@ -142,7 +142,6 @@ static int cmd_help_print(char *args, struct CMDTable* cur_cmd_table, int cur_nr
|
||||||
} else {
|
} else {
|
||||||
for (i = 0; i < cur_nr_cmd; i++) {
|
for (i = 0; i < cur_nr_cmd; i++) {
|
||||||
if (strcmp(arg, cur_cmd_table[i].name) == 0) {
|
if (strcmp(arg, cur_cmd_table[i].name) == 0) {
|
||||||
printf("Subcommand \n");
|
|
||||||
printf("%s ", cur_cmd_table[i].name);
|
printf("%s ", cur_cmd_table[i].name);
|
||||||
if (cmd_help_print(arg, cur_cmd_table[i].subcommand, cur_cmd_table[i].nr_subcommand) == -1) {
|
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);
|
printf("-- %s\n", cur_cmd_table[i].description);
|
||||||
|
|
Loading…
Reference in a new issue