diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index f5853be..774f166 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -37,8 +37,8 @@ int main(int argc, char *argv[]) { "Usage: vmchooser [ OPTIONS ]\n\n" " -d, --default name of default session\n" " -c, --config alternative config file\n" + " -e, --env name of the environment\n" " -f, --file direct boot FILE\n" - " -P, --pool name of the environment\n" " -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" @@ -158,8 +158,8 @@ int main(int argc, char *argv[]) { height = VMCHOOSER_DEFAULT_HEIGHT; } - if (cmdOptions.contains("pool")) { - pool = cmdOptions.value("pool"); + if (cmdOptions.contains("env")) { + pool = cmdOptions.value("env"); } else if (settings.contains("pool")) { pool = settings.value("pool").toString(); } |