X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=config%2Fdolconf.c;fp=config%2Fdolconf.c;h=a63790936a6f1b654e0a44d54fd1fe16ec9ae885;hb=289fa2eafbef8f308b021f5e49ad73f9af7bdad5;hp=cd5c5aa22e2370c9646448819c90fca4cad5900a;hpb=bbc9d874b771a9b87b63e5d370491c0b0646f1df;p=doldaconnect.git diff --git a/config/dolconf.c b/config/dolconf.c index cd5c5aa..a637909 100644 --- a/config/dolconf.c +++ b/config/dolconf.c @@ -787,9 +787,14 @@ int main(int argc, char **argv) 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); default: - fprintf((c == 'h')?stdout:stderr, "usage: dolconf [-haw]\n"); - exit((c == 'h')?0:1); + fprintf(stderr, "usage: dolconf [-haw]\n"); + exit(1); } }