BIND 10 #1256: Minor error in getopt() processing

BIND 10 Development do-not-reply at isc.org
Tue Oct 18 23:51:06 UTC 2011


#1256: Minor error in getopt() processing
-------------------------------------+-------------------------------------
                   Reporter:  shane  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  Year 3 Task
                   Priority:         |  Backlog
  trivial                            |            Resolution:
                  Component:         |             Sensitive:  0
  b10-auth                           |           Sub-Project:  DNS
                   Keywords:         |  Estimated Difficulty:  0
            Defect Severity:  Low    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jreed):

 So do you want to check for : (in the case) instead or get rid of the
 colon (in the getopt)?

 Do we want it to complain about the unknown option or not (in addition to
 giving the usage statement)?

 Note that the src/bin/dhcp6/main.cc uses the colon and checks for the
 colon, but doesn't yet have any switches that have an option argument.

 The colon magic, in my opinion, is not good as it also loses the
 explanation specific to the problem, such as b10-auth: option requires an
 argument -- u

-- 
Ticket URL: <http://bind10.isc.org/ticket/1256#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list