[mythtv-commits] mythtv commit: r23225 - in trunk/mythtv by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Jan 20 21:05:38 UTC 2010


      Author: mdean
        Date: 2010-01-20 21:05:38 +0000 (Wed, 20 Jan 2010)
New Revision: 23225
   Changeset: http://svn.mythtv.org/trac/changeset/23225

Modified:

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

Log:

Fix for plugin name command-line argument parsing with a better fix than the fix in [23208].  This fix seems to be more in line with the original design of the command-line parser and doesn't cause a failure when the final argument in a command line is not a plugin name but is a valid argument that looks like a plugin name (doesn't start with -, such as the second argument of a 2-part argument, like -v or -O).

Note that if you pass an invalid plugin name for what is meant to be the pluginname (like mythvidoe), the frontend will still be executed, but without any menus or UI showing, and will require interrupting the program.  This also means that the fallback to adding "myth" before the argument value won't work (so, while it should work, you can't use video as the plugin name).  This will be fixed separately.





More information about the mythtv-commits mailing list