MythTV  master
mythmediaserver/commandlineparser.cpp
Go to the documentation of this file.
1 #include <QString>
2 
3 #include "mythcorecontext.h"
4 #include "commandlineparser.h"
5 
9 
11 {
12  return "MythMediaServer is a daemon implementing the backend file server.\n"
13  "It is intended to allow access to remote file storage on machines\n"
14  "that do not have tuners, and as such cannot run a backend.";
15 }
16 
18 {
19  addHelp();
20  addVersion();
22  addPIDFile();
23  addDaemon();
24  addLogging();
25 }
26 
MythMediaServerCommandLineParser::LoadArguments
void LoadArguments(void) override
Definition: mythmediaserver/commandlineparser.cpp:17
MYTH_APPNAME_MYTHMEDIASERVER
#define MYTH_APPNAME_MYTHMEDIASERVER
Definition: mythcorecontext.h:29
MythCommandLineParser
Parent class for defining application command line parsers.
Definition: mythcommandlineparser.h:115
MythCommandLineParser::addPIDFile
void addPIDFile(void)
Canned argument definition for –pidfile.
Definition: mythcommandlineparser.cpp:2440
MythCommandLineParser::addVersion
void addVersion(void)
Canned argument definition for –version.
Definition: mythcommandlineparser.cpp:2277
MythMediaServerCommandLineParser::MythMediaServerCommandLineParser
MythMediaServerCommandLineParser()
Definition: mythmediaserver/commandlineparser.cpp:6
MythCommandLineParser::addLogging
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
Definition: mythcommandlineparser.cpp:2374
MythMediaServerCommandLineParser::GetHelpHeader
QString GetHelpHeader(void) const override
Definition: mythmediaserver/commandlineparser.cpp:10
mythcorecontext.h
MythCommandLineParser::addHelp
void addHelp(void)
Canned argument definition for –help.
Definition: mythcommandlineparser.cpp:2264
commandlineparser.h
MythCommandLineParser::addSettingsOverride
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.
Definition: mythcommandlineparser.cpp:2328
MythCommandLineParser::addDaemon
void addDaemon(void)
Canned argument definition for –daemon.
Definition: mythcommandlineparser.cpp:2316