2 #include "cetlib_except/exception.h" 4 namespace bpo = boost::program_options;
10 bpo::options_description
const&
desc,
11 bpo::positional_options_description
const&
pos)
try {
13 bpo::store(bpo::command_line_parser(argc, argv)
15 .style(bpo::command_line_style::default_style &
16 ~bpo::command_line_style::allow_guessing)
24 std::ostringstream err_stream;
25 err_stream <<
"Error processing command line in " << argv[0] <<
": " 26 << err.what() <<
'\n';
boost::program_options::variables_map parsed_program_options(int argc, char **argv, boost::program_options::options_description const &desc, boost::program_options::positional_options_description const &pos={})
void err(const char *fmt,...)
cet::coded_exception< error, detail::translate > exception