BIND 10 #528: getopt() c-lib function should be replaced with boost::program_options C++ function

BIND 10 Development do-not-reply at isc.org
Sat Jan 22 16:12:58 UTC 2011


#528: getopt() c-lib function should be replaced with boost::program_options C++
function
-------------------------------------+-----------------------------------
           Reporter:  smann          |                      Owner:  jelte
               Type:  enhancement    |                     Status:  new
           Priority:  major          |                  Milestone:
          Component:  configuration  |                   Keywords:
          Sensitive:  0              |  Estimated Number of Hours:  0
Add Hours to Ticket:  0              |                  Billable?:  1
        Total Hours:  0              |                  Internal?:  0
-------------------------------------+-----------------------------------
 Throughout the BIND 10 C++ code, getopt is used (probably because it is
 portable). But this raises an inconsistency in the command line options
 since getopt() cannot handle long options (e.g. --user=foo) while the
 python getopt() function can. Further, boost::program_options provides a
 fairly abstract mechanism for retrieving key/value pairs from either the
 command line or a file. See
 http://www.boost.org/doc/libs/1_45_0/doc/html/program_options.html for
 details.

-- 
Ticket URL: <http://bind10.isc.org/ticket/528>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list