Rev 3492 | Rev 3770 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3492 | Rev 3742 | ||
|---|---|---|---|
| Line 499... | Line 499... | ||
| 499 | unsigned int i; |
499 | unsigned int i; |
| 500 | 500 | ||
| 501 | for (i = 0; basic_commands[i]; i++) { |
501 | for (i = 0; basic_commands[i]; i++) { |
| 502 | cmd_initialize(basic_commands[i]); |
502 | cmd_initialize(basic_commands[i]); |
| 503 | if (!cmd_register(basic_commands[i])) |
503 | if (!cmd_register(basic_commands[i])) |
| 504 | panic("could not register command %s\n", basic_commands[i]->name); |
504 | printf("Cannot register command %s\n", basic_commands[i]->name); |
| 505 | } |
505 | } |
| 506 | } |
506 | } |
| 507 | 507 | ||
| 508 | 508 | ||
| 509 | /** List supported commands. |
509 | /** List supported commands. |