using namespace std; #include #include "mythcorecontext.h" #include "commandlineparser.h" #define MYTH_APPNAME_MYTHINSTALL "mythinstall" MythInstallCommandLineParser::MythInstallCommandLineParser() : MythCommandLineParser(MYTH_APPNAME_MYTHINSTALL) { LoadArguments(); } void MythInstallCommandLineParser::LoadArguments(void) { addHelp(); addVersion(); addSettingsOverride(); addGeometry(); addLogging(); // add(QStringList( QStringList() << "-s" << "--screen" ), "screen", "", // "List settings screens to show", ""); add("-s", "screen", "", "Start the frontend at specified jump point.", ""); add("-r", "readme", "", "Show readme", ""); add("-H", "help", "", "Show help screen", ""); add("-Q", "question", "", "Display question with yes/no", ""); add("-b", "run_mythsetup", "", "Ask to start mythtv setup", ""); add("-L", "show_lang", "", "On install show lang/country screen", ""); //add(QStringList( QStringList() << "-p" << "--prompt" ), "prompt", false, // "Always prompt for backend selection.", ""); } QString MythInstallCommandLineParser::GetHelpHeader(void) const { return "generic help msg line 34"; }