summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-12-09 23:00:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-12-09 23:00:51 (GMT)
commit23b63734b90bb8c37d88673383002cbd210cdc99 (patch)
tree8179ce273843f1527fc515c1fd59df75d0d9c77d /abs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp
parent9c7a9f742bbe8a69bdf50335e8218a45c3f28721 (diff)
downloadlinhes_pkgbuild-23b63734b90bb8c37d88673383002cbd210cdc99.zip
linhes_pkgbuild-23b63734b90bb8c37d88673383002cbd210cdc99.tar.gz
linhes_pkgbuild-23b63734b90bb8c37d88673383002cbd210cdc99.tar.bz2
mythinstall: pull in MythVantage src to LH tree.
more cleanup to many modules. access can now disable remotes and screensaver
Diffstat (limited to 'abs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp')
-rwxr-xr-xabs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp55
1 files changed, 55 insertions, 0 deletions
diff --git a/abs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp b/abs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp
new file mode 100755
index 0000000..7c8f4a2
--- /dev/null
+++ b/abs/core/mythinstall/MythVantage-app/mythinstall/commandlineparser.cpp
@@ -0,0 +1,55 @@
+
+using namespace std;
+
+#include <QString>
+
+#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";
+}
+