[mythtv-commits] mythtv commit: r21008 - in trunk/mythtv by janne

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Jul 24 16:51:41 UTC 2009


      Author: janne
        Date: 2009-07-24 16:51:41 +0000 (Fri, 24 Jul 2009)
New Revision: 21008
   Changeset: http://cvs.mythtv.org/trac/changeset/21008

Modified:

   trunk/mythtv/libs/libmyth/mythcommandlineparser.cpp
   trunk/mythtv/libs/libmyth/mythcommandlineparser.h
   trunk/mythtv/programs/mythfrontend/main.cpp
   trunk/mythtv/programs/mythtv/main.cpp

Log:

Fix a couple of MythCommandLineParser related problems

enum representation is int, doesn't make sense to use uint64_t in the constructor
add help text for --verbose to GetHelpText
return true if one of the verbose switches are found
'-verbose' is not a supported switch '-v' is
always call PreParse from Parse for unhandled options
add kCLPExtra for the filename/plugin options of mythtv/mythfrontend

the preparse loops of mythtv and mythfrontend should start at argpos == 1





More information about the mythtv-commits mailing list