Lines Matching refs:helpEntries
459 static helpEntry *helpEntries; variable
483 helpEntries = zmalloc(sizeof(helpEntry)*len); in cliInitHelp()
492 helpEntries[pos++] = tmp; in cliInitHelp()
500 helpEntries[pos++] = tmp; in cliInitHelp()
527 helpEntry *he = helpEntries+i; in cliIntegrateHelp()
534 helpEntries = zrealloc(helpEntries,sizeof(helpEntry)*helpEntriesLen); in cliIntegrateHelp()
535 helpEntry *new = helpEntries+(helpEntriesLen-1); in cliIntegrateHelp()
616 entry = &helpEntries[i]; in cliOutputHelp()
656 if (!(helpEntries[i].type & mask)) continue; in completionCallback()
659 if (strncasecmp(buf+startpos,helpEntries[i].full,matchlen) == 0) { in completionCallback()
661 tmp = sdscat(tmp,helpEntries[i].full); in completionCallback()
683 if (!(helpEntries[i].type & CLI_HELP_COMMAND)) continue; in hintsCallback()
685 if (strcasecmp(argv[0],helpEntries[i].full) == 0) in hintsCallback()
689 sds hint = sdsnew(helpEntries[i].org->params); in hintsCallback()