summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6264923..ff054fc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -5,6 +5,7 @@
#include <QtAlgorithms>
#include <QtGui/QApplication>
#include <QDesktopWidget>
+#include <QLocale>
#include <cstdlib>
#include <iostream>
@@ -38,6 +39,7 @@ int main(int argc, char *argv[]) {
" -p, --path path to vmware .xml files\n"
" -x, --xpath path of X Session .desktop files\n"
" -s, --size window size <width>x<height>\n"
+ " -b, --pvs show pvs options\n"
" -v, --version print version and exit\n"
" -h, --help print usage information and exit\n"
"\nFILE can be a vmware .xml or an X .desktop file\n")
@@ -164,6 +166,9 @@ int main(int argc, char *argv[]) {
QList<Session*> vsessions(VSession::readXmlDir(vSessionPath));
Dialog w;
+ if (cmdOptions.contains("pvs"))
+ w.showSettingsPVS();
+
w.resize(width, height);
if (xsessions.empty() && vsessions.empty()) {
std::cerr << a.translate(