id summary reporter owner description type status milestone component version severity resolution keywords cc 3813 program_options::options_description.add() permits duplicate options Matthew Wesley Sascha Ochsenknecht "The documentations for options_description.add() says it will through duplicate_variable_error for duplicate short or long options. I have check versions 1.32.0 and 1.41.0, and both permit this code: {{{ #include #include namespace po = boost::program_options; int main() { po::options_description opts; opts.add_options() (""help"", ""first --help"") (""help"", ""second --help"") ; opts.add_options() (""alpha,a"", ""first -a"") (""apple,a"", ""second -a"") ; std::cout << opts; return 0; } }}} Producing this output: {{{ --help first --help --help second --help -a [ --alpha ] first -a -a [ --apple ] second -a }}} " Bugs new Boost 1.42.0 program_options Boost 1.41.0 Problem