MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / usage

Function usage

strings/uca-dump.c:596–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594static int nlevels= 1;
595
596static void
597usage(FILE *file, int rc)
598{
599 fprintf(file, "Usage:\n");
600 fprintf(file, "uca-dump [options...] < /path/to/allkeys.txt\n");
601 fprintf(file, "\n");
602 fprintf(file, "Options:\n");
603 fprintf(file, "--levels=NUM How many levels to dump, 1-4, default 1.\n");
604 fprintf(file, "--contractions=NUM Whether to dump comtractions, 0-1, default 0.\n");
605 fprintf(file, "--optimize-contractions=NUM Whether to optimize contractions, 0-1, default 0.\n");
606 fprintf(file, "--debug=NUM Print debug information, 0-1, default 0.\n");
607 fprintf(file, "\n\n");
608 exit(rc);
609}
610
611
612static int

Callers 2

get_int_optionFunction · 0.70
process_optionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected