MCPcopy Create free account
hub / github.com/DFHack/dfhack / usage

Function usage

depends/lua/src/luac.c:50–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

doargsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected