Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MythTV/mythtv
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoet committed Jul 3, 2011
2 parents 549f709 + 98aefc6 commit a27a829
Show file tree
Hide file tree
Showing 19 changed files with 9 additions and 29 deletions.
1 change: 0 additions & 1 deletion mythplugins/mytharchive/mytharchivehelper/main.cpp
Expand Up @@ -2467,7 +2467,6 @@ void MythArchiveHelperCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addLogging();

add(QStringList( QStringList() << "-t" << "--createthumbnail" ),
Expand Down
1 change: 0 additions & 1 deletion mythplugins/mythnetvision/mythfillnetvision/main.cpp
Expand Up @@ -41,7 +41,6 @@ void MythFillNVCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addLogging();

add("--refresh-all", "refresh-all", false,
Expand Down
18 changes: 7 additions & 11 deletions mythtv/libs/libmythbase/mythcommandlineparser.cpp
Expand Up @@ -910,17 +910,6 @@ void MythCommandLineParser::addSettingsOverride(void)
"loaded for setting overrides.", "");
}

void MythCommandLineParser::addVerbose(void)
{
add(QStringList( QStringList() << "-v" << "--verbose" ), "verbose",
"important,general",
"Specify log filtering. Use '-v help' for level info.", "");
add("-V", "verboseint", 0U, "",
"This option is intended for internal use only.\n"
"This option takes an unsigned value corresponding "
"to the bitwise log verbosity operator.");
}

void MythCommandLineParser::addRecording(void)
{
add("--chanid", "chanid", 0U,
Expand Down Expand Up @@ -949,6 +938,13 @@ void MythCommandLineParser::addUPnP(void)

void MythCommandLineParser::addLogging(void)
{
add(QStringList( QStringList() << "-v" << "--verbose" ), "verbose",
"important,general",
"Specify log filtering. Use '-v help' for level info.", "");
add("-V", "verboseint", 0U, "",
"This option is intended for internal use only.\n"
"This option takes an unsigned value corresponding "
"to the bitwise log verbosity operator.");
add(QStringList( QStringList() << "-l" << "--logfile" << "--logpath" ),
"logpath", "",
"Writes logging messages to a file at logpath.\n"
Expand Down
1 change: 0 additions & 1 deletion mythtv/libs/libmythbase/mythcommandlineparser.h
Expand Up @@ -157,7 +157,6 @@ class MBASE_PUBLIC MythCommandLineParser
void addWindowed(bool);
void addDaemon(void);
void addSettingsOverride(void);
void addVerbose(void);
void addRecording(void);
void addGeometry(void);
void addDisplay(void);
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythavtest/commandlineparser.cpp
Expand Up @@ -22,7 +22,6 @@ void MythAVTestCommandLineParser::LoadArguments(void)
addSettingsOverride();
addVersion();
addWindowed(false);
addVerbose();
addGeometry();
addDisplay();
addLogging();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythbackend/commandlineparser.cpp
Expand Up @@ -16,7 +16,6 @@ void MythBackendCommandLineParser::LoadArguments(void)
addVersion();
addDaemon();
addSettingsOverride();
addVerbose();
addUPnP();
addLogging();
addPIDFile();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythcommflag/commandlineparser.cpp
Expand Up @@ -15,7 +15,6 @@ void MythCommFlagCommandLineParser::LoadArguments(void)
addHelp();
addSettingsOverride();
addVersion();
addVerbose();
addJob();
addRecording();
addLogging();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythfilldatabase/commandlineparser.cpp
Expand Up @@ -14,7 +14,6 @@ void MythFillDatabaseCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addLogging();

add("--manual", "manual", false, "Run interactive configuration",
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythfrontend/commandlineparser.cpp
Expand Up @@ -16,7 +16,6 @@ void MythFrontendCommandLineParser::LoadArguments(void)
addVersion();
addWindowed(false);
addSettingsOverride();
addVerbose();
addGeometry();
addDisplay();
addUPnP();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythjobqueue/commandlineparser.cpp
Expand Up @@ -21,7 +21,6 @@ void MythJobQueueCommandLineParser::LoadArguments(void)
addHelp();
addSettingsOverride();
addVersion();
addVerbose();
addLogging();
addPIDFile();
addDaemon();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythlcdserver/commandlineparser.cpp
Expand Up @@ -14,7 +14,6 @@ void MythLCDServerCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addDaemon();
addLogging();
//addPIDFile();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythmediaserver/commandlineparser.cpp
Expand Up @@ -21,7 +21,6 @@ void MythMediaServerCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addSettingsOverride();
addPIDFile();
addDaemon();
Expand Down
3 changes: 2 additions & 1 deletion mythtv/programs/mythmessage/commandlineparser.cpp
Expand Up @@ -14,13 +14,14 @@ void MythMessageCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
allowExtras();

add("--udpport", "port", 6948, "(optional) UDP Port to send to", "");
add("--bcastaddr", "addr", "127.0.0.1",
"(optional) IP address to send to", "");
add("--print-template", "printtemplate", false,
"Print the template to be sent to the frontend", "");
add(QStringList( QStringList() << "-v" << "--verbose" ), "verbose",
false, "Turn on verbose debugging", "");
}

1 change: 0 additions & 1 deletion mythtv/programs/mythmetadatalookup/main.cpp
Expand Up @@ -37,7 +37,6 @@ void MythMetadataLookupCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addRecording();
addLogging();

Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythpreviewgen/commandlineparser.cpp
Expand Up @@ -14,7 +14,6 @@ void MythPreviewGeneratorCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addRecording();
addLogging();

Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythshutdown/commandlineparser.cpp
Expand Up @@ -14,7 +14,6 @@ void MythShutdownCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addLogging();

add(QStringList( QStringList() << "-w" << "--setwakeup" ), "setwakeup", "",
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythtranscode/commandlineparser.cpp
Expand Up @@ -14,7 +14,6 @@ void MythTranscodeCommandLineParser::LoadArguments(void)
{
addHelp();
addVersion();
addVerbose();
addJob();
addRecording();
addSettingsOverride();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythtv-setup/commandlineparser.cpp
Expand Up @@ -24,7 +24,6 @@ void MythTVSetupCommandLineParser::LoadArguments(void)
addSettingsOverride();
addVersion();
addWindowed(false);
addVerbose();
addGeometry();
addDisplay();
addLogging();
Expand Down
1 change: 0 additions & 1 deletion mythtv/programs/mythwelcome/commandlineparser.cpp
Expand Up @@ -21,7 +21,6 @@ void MythWelcomeCommandLineParser::LoadArguments(void)
addHelp();
addSettingsOverride();
addVersion();
addVerbose();
addLogging();

add(QStringList( QStringList() << "-s" << "--setup" ), "setup", false,
Expand Down

0 comments on commit a27a829

Please sign in to comment.