reactive case_insensitive style for cmdline

[SVN r58273]
This commit is contained in:
Sascha Ochsenknecht
2009-12-10 20:25:53 +00:00
parent 970e377710
commit a5e45eda5f
7 changed files with 126 additions and 50 deletions

View File

@@ -58,12 +58,8 @@ namespace boost { namespace program_options {
if (xm.m_final.count(name))
continue;
// Ignore options which are not described
//TODO: consider this.
//if (desc.count(name) == 0)
// continue;
const option_description& d = desc.find(name, false);
const option_description& d = desc.find(name, false,
false, false);
variable_value& v = m[name];
if (v.defaulted()) {