Re: [Boost-bugs] [Boost C++ Libraries] #1830: not possible to use an option with only a short name

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1830: not possible to use an option with only a short name
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-17 13:01:56


#1830: not possible to use an option with only a short name
-------------------------------------+--------------------------------------
 Reporter: aroth@… | Owner: vladimir_prus
     Type: Feature Requests | Status: new
Milestone: Boost 1.36.0 | Component: program_options
  Version: Boost 1.35.0 | Severity: Optimization
 Keywords: |
-------------------------------------+--------------------------------------

Comment(by Sascha Ochsenknecht <s.ochsenknecht@…>):

 Small Addition:

 The key to get the option values out of a variables_map in the above
 example is:

 {{{
 variables_map vm;
 ...
 vm["-c"] ...
 }}}

 The short value is always prepended with a dash '-'.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1830#comment:3>
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