MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / usage

Function usage

server/vglconfig.cpp:412–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410
411
412void usage(char **argv)
413{
414 vglout.print("\nUSAGE: %s -shmid <s> [options]\n\n", argv[0]);
415 vglout.print("<s> = Shared memory segment ID (reported by the VirtualGL Faker when the\n");
416 vglout.print(" environment variable VGL_VERBOSE is set to 1)\n\n");
417 vglout.print("Options:\n");
418 vglout.print("-display <d> = X display to which to display the GUI (default: read from\n");
419 vglout.print(" DISPLAY environment variable)\n");
420 vglout.print("-ppid <p> = Parent process ID. VGL Config will exit when this process\n");
421 vglout.print(" terminates.\n\n");
422 exit(1);
423}
424
425
426int main(int argc, char **argv)

Callers 1

mainFunction · 0.70

Calls 1

printMethod · 0.45

Tested by

no test coverage detected