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

Function get_one_option

extra/mysql_waitpid.c:45–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45static my_bool
46get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
47 char *argument __attribute__((unused)))
48{
49 switch(optid) {
50 case 'V':
51 printf("%s version %s by Jani Tolonen\n", progname, VER);
52 exit(-1);
53 case 'I':
54 case '?':
55 usage();
56 }
57 return 0;
58}
59
60
61int main(int argc, char *argv[])

Callers

nothing calls this directly

Calls 1

usageFunction · 0.70

Tested by

no test coverage detected