[mythtv-commits] mythtv/master commit: 9fb9fad87 by Raymond Wagner (wagnerrp)
MythTV
noreply at mythtv.org
Sun Oct 9 20:07:26 UTC 2011
Author: Raymond Wagner <rwagner at mythtv.org>
Change Date: 2011-10-09T13:03:28-07:00
Push Date: 2011/10/09 13:07:11 -0700
Repository: mythtv
Branch: master
New Revision: 9fb9fad87d23cc85a3c49f43ef382263b86f8920
Changeset: https://github.com/MythTV/mythtv/commit/9fb9fad87
Log:
Fix MythCommandLineParser::SetValue
Previously, this would store the new value to the CommandLineArg
instance, but would not mark the instance as having been used. Thus, if
the argument had not actually been used on the command line, attempting
to retrieve the value would result in getting the default. This
requires a version bump, so it also carries staging for a SetDeprecated
method to CommandLineArg.
Fixes #10083.
Modified:
mythtv/libs/libmythbase/mythcommandlineparser.cpp
mythtv/libs/libmythbase/mythcommandlineparser.h
mythtv/libs/libmythbase/mythversion.h
mythtv/programs/mythfilldatabase/main.cpp
More information about the mythtv-commits
mailing list