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

Function usage

Singular/utils.cc:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23VAR int warning_info = 0, warning_version = 0;
24
25static void usage(char *progname)
26{
27 printf("libparse: a syntax-checker for Singular Libraries.\n");
28 printf("USAGE: %s [options] singular-library\n", progname);
29 printf("Options:\n");
30 printf(" -f <singular library> : performs syntax-checks\n");
31 printf(" -d [digit] : digit=1,..,4 increases the verbosity of the checks\n");
32 printf(" -s : turns on reporting about violations of unenforced syntax rules\n");
33 printf(" -i : perl output of examples and help of procs\n");
34 printf(" -c : print category of lib to stdout and exit\n");
35 printf(" -h : print this message\n");
36 exit(1);
37}
38
39STATIC_VAR char* lib_file = NULL;
40

Callers 1

main_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected