MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / print_usage

Function print_usage

other_src/lua/src/lua.cpp:42–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42static void print_usage (void) {
43 fprintf(stderr,
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 fflush(stderr);
55}
56
57
58static void l_message (const char *pname, const char *msg) {

Callers 1

pmainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected