Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make real URL links, and fix homepage link.
[doldaconnect.git]
/
config
/
dolconf.c
diff --git
a/config/dolconf.c
b/config/dolconf.c
index
cd5c5aa
..
a637909
100644
(file)
--- a/
config/dolconf.c
+++ b/
config/dolconf.c
@@
-787,9
+787,14
@@
int main(int argc, char **argv)
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);
default:
default:
- fprintf(
(c == 'h')?stdout:
stderr, "usage: dolconf [-haw]\n");
- exit(
(c == 'h')?0:
1);
+ fprintf(stderr, "usage: dolconf [-haw]\n");
+ exit(1);
}
}
}
}