MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / usage

Function usage

extlibs/lua/src/luac.c:54–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static void usage(const char* message)
55{
56 if (*message=='-')
57 fprintf(stderr,"%s: unrecognized option '%s'\n",progname,message);
58 else
59 fprintf(stderr,"%s: %s\n",progname,message);
60 fprintf(stderr,
61 "usage: %s [options] [filenames]\n"
62 "Available options are:\n"
63 " -l list (use -l -l for full listing)\n"
64 " -o name output to file 'name' (default is \"%s\")\n"
65 " -p parse only\n"
66 " -s strip debug information\n"
67 " -v show version information\n"
68 " -- stop handling options\n"
69 " - stop handling options and process stdin\n"
70 ,progname,Output);
71 exit(EXIT_FAILURE);
72}
73
74#define IS(s) (strcmp(argv[i],s)==0)
75

Callers 2

doargsFunction · 0.85
mainFunction · 0.85

Calls 1

fprintfFunction · 0.85

Tested by

no test coverage detected