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-10-29 19:00:20


#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 s.ochsenknecht@…):

 I think it is possible when the long options is empty (",y"), e.g.:

 {{{
   options_description opts;
   opts.add_options()(",c", value<std::string>(), "the configfile");
 }}}

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