[mythtv-commits] Ticket #11642: CommandLineParser cannot handle values being passed to boolean options

MythTV noreply at mythtv.org
Thu Jul 4 05:24:47 UTC 2013


#11642: CommandLineParser cannot handle values being passed to boolean options
----------------------------------+-----------------------------
 Reporter:  wagnerrp              |          Owner:  wagnerrp
     Type:  Bug Report - General  |         Status:  new
 Priority:  trivial               |      Milestone:  unknown
Component:  MythTV - General      |        Version:  Master Head
 Severity:  low                   |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by Raymond Wagner <rwagner@…>):

 In [changeset:"168b8528f39ef8837884f93d8c26f3496868c642/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="168b8528f39ef8837884f93d8c26f3496868c642"
 Fix infinite reprocessing loop for booleans in command line parser.

 This fixes the immediate issue, by allowing the parser loop to
 distinguish between the two scenarios, and only attempt reprocessing if
 it makes sense to.

 Refs #11642

 I'm leaving the ticket open, as we should not be reporting an error
 prematurely when we're going to attempt reprocessing. We should probably
 also accept various forms of "true" and "false" for booleans, rather
 than accept no values.
 }}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11642#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list