[mythtv-commits] mythtv commit: r23208 by mdean
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Jan 19 08:06:29 UTC 2010
Author: mdean
Date: 2010-01-19 08:06:29 +0000 (Tue, 19 Jan 2010)
New Revision: 23208
Changeset: http://svn.mythtv.org/trac/changeset/23208
Modified:
trunk/mythtv/programs/mythfrontend/main.cpp
Log:
Fix pluginname parsing on the mythfrontend command line.
Since [21008], mythfrontend sets kCLPExtra, so MythCommandLineParser::Parse() returns MythCommandLineParser::PreParse(), which returns true for the pluginname argument. Therefore, we never got to the pluginname conditional block in mythfrontend's main(). This patch moves the pluginname conditional block inside the cmdline.Parse() conditional, so the code is executed and pluginname isn't ignored.
Thanks to James Meyer for noticing that the command-line parsing didn't pick up pluginname.
More information about the mythtv-commits
mailing list