MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / cliOutputCommandHelp

Function cliOutputCommandHelp

src/redis-cli.c:418–425  ·  view source on GitHub ↗

Output command help to stdout. */

Source from the content-addressed store, hash-verified

416
417/* Output command help to stdout. */
418static void cliOutputCommandHelp(struct commandHelp *help, int group) {
419 printf("\r\n \x1b[1m%s\x1b[0m \x1b[90m%s\x1b[0m\r\n", help->name, help->params);
420 printf(" \x1b[33msummary:\x1b[0m %s\r\n", help->summary);
421 printf(" \x1b[33msince:\x1b[0m %s\r\n", help->since);
422 if (group) {
423 printf(" \x1b[33mgroup:\x1b[0m %s\r\n", commandGroups[help->group]);
424 }
425}
426
427/* Print generic help. */
428static void cliOutputGenericHelp(void) {

Callers 1

cliOutputHelpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected