Opened 12 years ago
Closed 12 years ago
#10674 closed Bug Report - General (Invalid)
Mythfilldatabase does not accept --file parameters
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | 0.25-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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
The --file argument is a boolean in 0.25-fixes as you wrote yourself. Try with the following syntax: