git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1030
959494ce-11ee-0310-bf91-
de5d638817bd
state = 0;
break;
case 'h':
state = 0;
break;
case 'h':
+ printf("usage: dolconf [-haw]\n");
+ printf("\t-h\tDisplay this help message\n");
+ printf("\t-a\tGo directly to the assistant\n");
+ printf("\t-w\tGo directly to the standard window\n");
+ exit(0);
- fprintf((c == 'h')?stdout:stderr, "usage: dolconf [-haw]\n");
- exit((c == 'h')?0:1);
+ fprintf(stderr, "usage: dolconf [-haw]\n");
+ exit(1);