[program_options] Bug: "ambiguous" option shouldn't be

When the attached test program is run as $ program-options-test --foo program_options in Boost 1.33.1 thinks the option is ambiguous; apparently because there is another option that starts with "foo" followed by a dash. This is a regression with respect to 1.32.0. -- Braden McDaniel e-mail: <braden@endoframe.com> <http://endoframe.com> Jabber: <braden@jabber.org>

Hi Braden,
When the attached test program is run as
$ program-options-test --foo
program_options in Boost 1.33.1 thinks the option is ambiguous; apparently because there is another option that starts with "foo" followed by a dash.
This is a regression with respect to 1.32.0.
Thanks for the report! This was independently reported by Tilman Sohr, and just fixed (and testase updated to catch this issue). Thanks, Volodya
participants (2)
-
Braden McDaniel
-
Vladimir Prus