
7 Mar
2007
7 Mar
'07
11:23 a.m.
Hi, I am having some trouble getting program_options to ignore unknown options. As suggested in the documentation I set allow_unregistered() but po::store(po::command_line_parser(argc, argv).options(pd.get()).allow_unregistered().run(), vm); po::notify(vm); still throws boost::program_options::unknown_option. Could anyone please make clear how to do it correctly? -- View this message in context: http://www.nabble.com/-program_options--ignoring-unknown-options-tf3361505.h... Sent from the Boost - Users mailing list archive at Nabble.com.