[mythtv-commits] mythtv commit: r18223 - in trunk/mythtv by stuartm

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Aug 28 18:43:36 UTC 2008


      Author: stuartm
        Date: 2008-08-28 18:43:36 +0000 (Thu, 28 Aug 2008)
New Revision: 18223
   Changeset: http://cvs.mythtv.org/trac/changeset/18223

Modified:

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

Log:

Move --version parsing to MythCommandLineParser::PreParse() so that it happens before we try to connect to X etc. This was the behaviour in trunk until the creation of MythCommandLineParser when it was broken. Also fixed the parsing of 'preparse' arguments which was broken because we incremented argpos twice in each iteration.




More information about the mythtv-commits mailing list