X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=config%2Fdolconf.c;h=a63790936a6f1b654e0a44d54fd1fe16ec9ae885;hb=ddb3658e4a9d9efb7a8628fee483e5371c426d12;hp=cd5c5aa22e2370c9646448819c90fca4cad5900a;hpb=c3aa1aa02efefdf138133908df139e373ce5224a;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); } }