[mythtv-commits] mythtv/master commit: bc9837f71 by Raymond Wagner (wagnerrp)
MythTV
noreply at mythtv.org
Fri Sep 9 07:27:03 UTC 2011
Author: Raymond Wagner <rwagner at mythtv.org>
Change Date: 2011-09-09T00:23:48-07:00
Push Date: 2011/09/09 00:26:56 -0700
Repository: mythtv
Branch: master
New Revision: bc9837f71c3141c38754aa74f25f3af87decc24c
Changeset: https://github.com/MythTV/mythtv/commit/bc9837f71
Log:
Add utility method for handling one-off command line options
This adds the CommandLineArg::AllowOneOf method for handling
applications with several mutually exclusive utility functions. This
takes a list of CommandLineArg pointers, and handles setting the
interdependencies.
Adds use in mythbackend, mythcommflag, mythmetadatalookup, and
mythshutdown.
Modified:
mythtv/libs/libmythbase/mythcommandlineparser.cpp
mythtv/libs/libmythbase/mythcommandlineparser.h
mythtv/libs/libmythbase/mythversion.h
mythtv/programs/mythbackend/commandlineparser.cpp
mythtv/programs/mythcommflag/commandlineparser.cpp
mythtv/programs/mythmetadatalookup/main.cpp
mythtv/programs/mythshutdown/commandlineparser.cpp
More information about the mythtv-commits
mailing list