]> mj.ucw.cz Git - libucw.git/commit
Opt: OPT_HELP_OPTION does not need passing pointer to current definitions
authorMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2014 19:59:02 +0000 (20:59 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 27 Jan 2014 19:59:02 +0000 (20:59 +0100)
commitbeffdda5bfe844b0db22eb6e6c393b396a4f13f1
treeb908c294386a4f2b9c557a5e1aaf92c512558fba
parent9150f33a09541429cd592c727932dc18967a0bbf
Opt: OPT_HELP_OPTION does not need passing pointer to current definitions

I have introduced a new flag OPT_INTERNAL / OPT_HOOK_INTERNAL, which
can be used by internal handlers and hooks to get the pointer to the
current opt_context.
ucw/opt-help.c
ucw/opt-internal.h
ucw/opt-test.c
ucw/opt.c
ucw/opt.h