Home | History | Annotate | Download | only in cgpt

Lines Matching full:cmds

30 } cmds[] = {
49 for (i = 0; i < sizeof(cmds)/sizeof(cmds[0]); ++i) {
50 printf(" %-15s %s\n", cmds[i].name, cmds[i].comment);
76 for (i = 0; command && i < sizeof(cmds)/sizeof(cmds[0]); ++i) {
78 if (0 == strcmp(cmds[i].name, command)) {
84 else if (0 == strncmp(cmds[i].name, command, strlen(command))) {
91 return cmds[match_index].fp(argc, argv);