From 289fa2eafbef8f308b021f5e49ad73f9af7bdad5 Mon Sep 17 00:00:00 2001 From: fredrik Date: Tue, 8 May 2007 03:16:36 +0000 Subject: [PATCH] Better help. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1030 959494ce-11ee-0310-bf91-de5d638817bd --- config/dolconf.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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); } } -- 2.11.0