Lines Matching refs:helpEntries
218 static helpEntry *helpEntries; variable
242 helpEntries = zmalloc(sizeof(helpEntry)*len); in cliInitHelp()
251 helpEntries[pos++] = tmp; in cliInitHelp()
259 helpEntries[pos++] = tmp; in cliInitHelp()
282 helpEntry *he = helpEntries+i; in cliIntegrateHelp()
289 helpEntries = zrealloc(helpEntries,sizeof(helpEntry)*helpEntriesLen); in cliIntegrateHelp()
290 helpEntry *new = helpEntries+(helpEntriesLen-1); in cliIntegrateHelp()
370 entry = &helpEntries[i]; in cliOutputHelp()
410 if (!(helpEntries[i].type & mask)) continue; in completionCallback()
413 if (strncasecmp(buf+startpos,helpEntries[i].full,matchlen) == 0) { in completionCallback()
415 tmp = sdscat(tmp,helpEntries[i].full); in completionCallback()
437 if (!(helpEntries[i].type & CLI_HELP_COMMAND)) continue; in hintsCallback()
439 if (strcasecmp(argv[0],helpEntries[i].full) == 0) in hintsCallback()
443 sds hint = sdsnew(helpEntries[i].org->params); in hintsCallback()