MCPcopy Create free account
hub / github.com/apache/trafficserver / cmd_help

Function cmd_help

src/traffic_server/traffic_server.cc:1250–1268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1248}
1249
1250int
1251cmd_help(char *cmd)
1252{
1253 (void)cmd;
1254 printf("HELP\n\n");
1255 cmd = skip(cmd);
1256 if (!cmd) {
1257 print_cmd_help();
1258 } else {
1259 int i;
1260 if ((i = find_cmd_index(cmd)) < 0) {
1261 printf("\nno help found for: %s\n", cmd);
1262 return CMD_FAILED;
1263 }
1264 printf("Help for: %s\n\n", commands[i].n);
1265 printf("%s", commands[i].h);
1266 }
1267 return CMD_OK;
1268}
1269
1270void
1271check_fd_limit()

Callers

nothing calls this directly

Calls 3

skipFunction · 0.85
print_cmd_helpFunction · 0.85
find_cmd_indexFunction · 0.85

Tested by

no test coverage detected