id summary reporter owner description type status milestone component version severity resolution keywords cc 9630 Program Options: canonical option name incorrect when hyphenated Tad Ashlock Vladimir Prus "When using a long option name like ""external-device"", if there is a problem, the name of the option in the error message is printed as ""--device"" instead of ""--external-device"". This is due to the implementation in error_with_option_name::get_canonical_option_name() in the value_semantic.cpp file. It calls strip_prefixes() when assigning the value to original_token. But strip_prefixes() simply uses find_last_of(""-/""), which finds the dash within the option name and incorrectly uses the following character as the start of the option name. I don't know the proper fix to apply in order to not cause errors in other uses of these functions." Bugs closed To Be Determined program_options Boost 1.55.0 Problem fixed