Re: [Boost-bugs] [Boost C++ Libraries] #3752: No detected unknown parameter

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3752: No detected unknown parameter
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-13 18:52:55


#3752: No detected unknown parameter
--------------------------------------------+-------------------------------
 Reporter: Alex Bukreev <bucreev@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: program_options
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------------------------+-------------------------------

Comment(by vladimir_prus):

 It should not give an error. It's by design that positional options are
 passed through, via the vector<option> that parse_command_line returns. I
 think that forcing processing positional options via the variables map
 would be an inconvenience. Other libraries, such as getopt, only extract
 options, leaving positionals to the user to handle.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3752#comment:5>
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:02 UTC