[mythtv-commits] Ticket #10426: commandlineparser doesn't show all options on the help page when initiated from incorrect syntax
MythTV
noreply at mythtv.org
Sat Mar 10 12:35:36 UTC 2012
#10426: commandlineparser doesn't show all options on the help page when initiated
from incorrect syntax
--------------------------------------+-------------------------
Reporter: kenni | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
Children of options are not displayed when a help page is initiated from
entering an incorrect argument rather than being initiated with --help.
{{{
# mythfilldatabase --help
mythfilldatabase version: master [v0.25-beta-78-g1c2ce6a] www.mythtv.org
Misc. Options:
--dd-file Bypass grabber, and read SD data from file
--lineupid DataDirect lineup of input xml file
--offset Day offset of input xml file
--xmlfile XML file to import manually
--dd-grab-all refresh full data using DataDirect
--file Bypass grabbers and define sourceid and
file
--xmlfile XML file to import manually
--manual Run interactive configuration
--no-mark-repeats do not mark repeats
--preset Use channel preset values instead of
numbers
-h OR --help OR --usage Display this help printout.
--version Display version information.
--sourceid Operate on single source
--update Run non-destructive updates
--xawchannels Read channels from xawtvrc file
--xawtvrcfile xawtvrc file to import channels from
}}}
{{{
# mythfilldatabase --x
Unhandled option given on command line:
--x
mythfilldatabase version: master [v0.25-beta-78-g1c2ce6a] www.mythtv.org
Misc. Options:
--dd-file Bypass grabber, and read SD data from file
--dd-grab-all refresh full data using DataDirect
--file Bypass grabbers and define sourceid and
file
--manual Run interactive configuration
--no-mark-repeats do not mark repeats
--preset Use channel preset values instead of
numbers
-h OR --help OR --usage Display this help printout.
--version Display version information.
--sourceid Operate on single source
--update Run non-destructive updates
--xawchannels Read channels from xawtvrc file
}}}
Seems to be a generic issue, both mythfilldatabase and mythavtest are
affected (I didn't check all of the other executables)
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10426>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list