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 
void addPIDFile(void)
Canned argument definition for –pidfile.
Parent class for defining application command line parsers.
void addVersion(void)
Canned argument definition for –version.
void addLogging(const QString &defaultVerbosity="general", LogLevel_t defaultLogLevel=LOG_INFO)
Canned argument definition for all logging options, including –verbose, –logpath, –quiet,...
void addHelp(void)
Canned argument definition for –help.
void addDaemon(void)
Canned argument definition for –daemon.
#define MYTH_APPNAME_MYTHMEDIASERVER
void addSettingsOverride(void)
Canned argument definition for –override-setting and –override-settings-file.