| 410 | |
| 411 | |
| 412 | void 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 | |
| 426 | int main(int argc, char **argv) |