diff options
author | Sebastian Schmelzer | 2011-07-13 11:18:13 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2011-07-13 11:18:13 +0200 |
commit | 0451c3677dbd6cdac99521e59f90dca16f8739b2 (patch) | |
tree | 0bbf7466b9d03d23d483780690addb193785667d /src/main.cpp | |
parent | update win7 logo (diff) | |
download | vmchooser-0451c3677dbd6cdac99521e59f90dca16f8739b2.tar.gz vmchooser-0451c3677dbd6cdac99521e59f90dca16f8739b2.tar.xz vmchooser-0451c3677dbd6cdac99521e59f90dca16f8739b2.zip |
fix problems with unreadable files
cleaned up debug messages
changed pools parameter to env
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(); } |