[mythtv-commits] Ticket #10674: Mythfilldatabase does not accept --file parameters

MythTV noreply at mythtv.org
Mon Apr 30 08:19:13 UTC 2012


#10674: Mythfilldatabase does not accept --file parameters
-----------------------------+--------------------------------------
 Reporter:  martin_ginkel@…  |           Type:  Bug Report - General
   Status:  new              |       Priority:  minor
Milestone:  unknown          |      Component:  MythTV - General
  Version:  0.25-fixes       |       Severity:  medium
 Keywords:                   |  Ticket locked:  0
-----------------------------+--------------------------------------
 I used mythfilldatabase with xml files downloaded from an external source.
 I used to call
 mythfilldatabase --file 1 <xmlfile>

 but apparently the getopt parser has been rewritten to assume --file is a
 boolean parameter only:

 mythfilldatabase --file ~/.mythXml/2012_05/05_01.xml

 Boolean type options do not accept values:
     --file
 Received '/home/ginkel/.mythXml/2012_05/05_01.xml' but unassociated
 arguments have not been enabled
 mythfilldatabase version: fixes/0.25 [v0.25-59-gae7ac79] www.mythtv.org
 Misc. Options:
 ...
 --file                          Bypass grabbers and define sourceid and
 file
   --xmlfile                       XML file to import manually

 mythfilldatabase --file 1 ~/.mythXml/2012_05/05_01.xml

 Boolean type options do not accept values:
     --file
 Received '1' but unassociated arguments have not been enabled
 mythfilldatabase version: fixes/0.25 [v0.25-59-gae7ac79] www.mythtv.org
 Misc. Options:
 ...
 --file                          Bypass grabbers and define sourceid and
 file
   --xmlfile                       XML file to import manually

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10674>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list