| 528 | } |
| 529 | |
| 530 | int is_in_cmdlist(struct cmdnames *c, const char *s) |
| 531 | { |
| 532 | int i; |
| 533 | for (i = 0; i < c->cnt; i++) |
| 534 | if (!strcmp(s, c->names[i]->name)) |
| 535 | return 1; |
| 536 | return 0; |
| 537 | } |
| 538 | |
| 539 | struct help_unknown_cmd_config { |
| 540 | int autocorrect; |
no outgoing calls
no test coverage detected