20 Jul
2007
20 Jul
'07
9:51 a.m.
Hi, [1] says:
The library does not provide direct support for response files, so you'll need to write some extra code.
But this code does the trick without much extra code: std::ifstream is(vm["conf_file"].asstd::string().c_str()); po::store(po::parse_config_file(is, desc), vm); Or is a response file something else? In that case, maybe that should be mentioned, as I think for lots of users this is enough. [1] http://boost.org/doc/html/program_options/howto.html#id1592676