Re: [Boost-bugs] [Boost C++ Libraries] #1132: zero_tokens doesn't work

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1132: zero_tokens doesn't work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-08 12:41:06


#1132: zero_tokens doesn't work
---------------------------------------------+------------------------------
 Reporter: Bryan Green <bgreen0@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: program_options
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
---------------------------------------------+------------------------------

Comment(by anonymous):

 The problem with multitoken is still there in Boost 1.40 :-(

 {{{
 ./a.out --email blah_at_blah me_at_somewhere
 exception: in option 'email': multiple values not allowed
 }}}

 I could use value<vector<string> >(), but this implies that the option can
 occur more than one time on command line which I don't want allow in my
 case.

 zero_token() also broken, I always get:
 {{{
 exception: in option 'verbose': at least one value required
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1132#comment:8>
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:01 UTC