X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fopt-help.c;h=4166cc5f717e627e41e993b0a7e7d53dd83f5885;hb=0db6e10eac28f38bfc3b325b13ad95107c58ce1e;hp=c69c22d360e6f55b498acf0f396360ad01fd36c2;hpb=bdccfb6b49a17a2ac0e1fb3063df3766cd4abd5c;p=libucw.git diff --git a/ucw/opt-help.c b/ucw/opt-help.c index c69c22d3..4166cc5f 100644 --- a/ucw/opt-help.c +++ b/ucw/opt-help.c @@ -160,6 +160,7 @@ void opt_help(const struct opt_section * sec) { void opt_handle_help(struct opt_item * opt UNUSED, const char * value UNUSED, void * data) { - opt_help(data); + struct opt_context *oc = data; + opt_help(oc->options); exit(0); }