Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function parse_environment

boost::program_options::parse_environment

Synopsis

// In header: <boost/program_options/parsers.hpp>


parsed_options 
(options_description &,  prefix);

Description

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.


PrevUpHomeNext