Re: [Boost-bugs] [Boost C++ Libraries] #4781: Boost Program Options 'arg' text could be editiable.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4781: Boost Program Options 'arg' text could be editiable.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-14 01:33:22


#4781: Boost Program Options 'arg' text could be editiable.
----------------------------------------+-----------------------------------
  Reporter: robertmassaioli@… | Owner: vladimir_prus
      Type: Feature Requests | Status: reopened
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: arg program_options
----------------------------------------+-----------------------------------

Comment (by Leo Goodstadt <boost@…>):

 I would like to add my support to this feature, having long patched my
 version of program_options to support this.

 The text of "arg" is called "metavar" in the python optparse module, and
 opt_name in GNU genparse.
 I am very used to "metavar" from python but it is very obscure for non-
 python users.

 "arg" is either the name of the argument/value for the option, or a
 placeholder for the argument/value for the option. In use, it is commonly
 the *type* of the argument.

 So we have four choices:
 1) metavar (from python)
 2) argument_name | arg_name | option_value_name | value_name
 3) argument_placeholder_name | arg_placeholder | value_placeholder
 4) argument_type | arg_type

 My preference is for something from (2).

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