boost::program_options::parse_environment
// In header: <boost/program_options/parsers.hpp> BOOST_PROGRAM_OPTIONS_DECL parsed_options parse_environment(const options_description &, const std::string & prefix);
Parse environment.
Takes all environment variables which start with 'prefix'. The option name is obtained from variable name by removing the prefix and converting the remaining string into lower case.