id summary reporter owner description type status milestone component version severity resolution keywords cc 4541 "Options starting with ""opt_"" not recognized by command line parser" Peter Hepperger Vladimir Prus "Hello, I have a strange problem when using boost::program_options. Options whose name starts with ""opt_"" seem to be ignored by the command line parser. I tried to declare an option of type string with name ""opt_method"". If I enter the command line parameter --opt_method='foo', the option value 'foo' is not present afterwards (the value is still equal to the default value, if any is declared). The parameter is read correctly when using a configuration file, however. Moreover, if I do NOT declare an option with this name, but still enter the command line parameter, there is no boost::program_options::unknown_option exception thrown. As soon as I change the name of the option to ""optmethod"" or ""method"", the problems are gone. Best regards, Peter" Bugs closed program_options Boost 1.43.0 Problem duplicate