+ connlocal = 0;
+ while((c = getopt(argc, argv, "lh")) != -1) {
+ switch(c) {
+ case 'l':
+ connlocal = 1;
+ break;
+ case 'h':
+ printf("usage: dolcon [-hl]\n");
+ printf("\t-h\tDisplay this help message\n");
+ printf("\t-l\tConnect to the locally running daemon\n");
+ exit(0);
+ default:
+ fprintf(stderr, "usage: dolcon [-hl]\n");
+ exit(1);
+ }
+ }