MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cliOutputCommandHelp

Function cliOutputCommandHelp

app/redis-6.2.6/src/redis-cli.c:611–618  ·  view source on GitHub ↗

Output command help to stdout. */

Source from the content-addressed store, hash-verified

609
610/* Output command help to stdout. */
611static void cliOutputCommandHelp(struct commandHelp *help, int group) {
612 printf("\r\n \x1b[1m%s\x1b[0m \x1b[90m%s\x1b[0m\r\n", help->name, help->params);
613 printf(" \x1b[33msummary:\x1b[0m %s\r\n", help->summary);
614 printf(" \x1b[33msince:\x1b[0m %s\r\n", help->since);
615 if (group) {
616 printf(" \x1b[33mgroup:\x1b[0m %s\r\n", commandGroups[help->group]);
617 }
618}
619
620/* Print generic help. */
621static void cliOutputGenericHelp(void) {

Callers 1

cliOutputHelpFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected