Subject: [Boost-bugs] [Boost C++ Libraries] #4159: program_options fails with similar parameter names
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-28 09:36:31
#4159: program_options fails with similar parameter names
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: program_options
Version: Boost 1.42.0 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
Assume we have two parameters specified, namely myparam and myparam-other.
If these are specified (with add_params()) in the given order, the
parameter --myparam will be mistakenly assigned to myparam-other. If they
are specified in reverse order, everything will be fine. I guess this is
not the intended behavior.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4159> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC