]> mj.ucw.cz Git - libucw.git/commit
Opt: "--help" can stand both before and after config options
authorMartin Mares <mj@ucw.cz>
Mon, 17 Feb 2014 17:49:48 +0000 (18:49 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 17 Feb 2014 17:49:48 +0000 (18:49 +0100)
commit2ca50624f7d4461cc079ab6dfe520f10e99a72d9
treeed213af07cceb1a6627dea70fa33870f5af0a5a1
parent760ae9e3a01c7dee03bb57d5dbdbeaa3b0670735
Opt: "--help" can stand both before and after config options

The OPT_BEFORE_CONFIG flag was incorrectly interpreted as "this is
a config option", so "--help" after all options did not work as
expected.

Now, OPT_BEFORE_CONFIG means "the option can stand anywhere and the
config check logic should not touch it".
ucw/opt-conf.c