better detection of ambiguous options, see Ticket #3423

[SVN r58152]
This commit is contained in:
Sascha Ochsenknecht
2009-12-05 08:08:45 +00:00
parent 6e0f1db1fc
commit 5f01f7bf3f
4 changed files with 56 additions and 35 deletions

View File

@@ -227,6 +227,12 @@ namespace boost { namespace program_options {
{
return m_option_name;
}
const std::vector<std::string>&
ambiguous_option::alternatives() const throw()
{
return m_alternatives;
}
void
multiple_values::set_option_name(const std::string& option_name)