MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / print_usage

Function print_usage

lua/lua.c:42–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42static void print_usage (void) {
43 logmsg(LOGMSG_USER,
44 "usage: %s [options] [script [args]].\n"
45 "Available options are:\n"
46 " -e stat execute string " LUA_QL("stat") "\n"
47 " -l name require library " LUA_QL("name") "\n"
48 " -i enter interactive mode after executing " LUA_QL("script") "\n"
49 " -v show version information\n"
50 " -- stop handling options\n"
51 " - execute stdin and stop handling options\n"
52 ,
53 progname);
54}
55
56
57static void l_message (const char *pname, const char *msg) {

Callers 1

pmainFunction · 0.70

Calls 1

logmsgFunction · 0.50

Tested by

no test coverage detected