diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-26 17:02:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-26 17:02:59 +0300 |
commit | 0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b (patch) | |
tree | 831acba9a0b799490d0e4396fac8254fd0af7de5 /src | |
parent | b462762ae88e52ba18a0610c62a9dda6ac89d32d (diff) | |
download | mv-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.tar.gz mv-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.tar.bz2 mv-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.tar.xz mv-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.zip |
Fix command line parameters.
Update command line help and man page.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index f29735ad8..e9e09e9b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -62,7 +62,7 @@ static void printHelp() << endl << endl << _("Options:") << endl << _(" -l --log-file : Log file to use") << endl - << _(" -L --chat-log-dir : Chat log dir to use") << endl + << _(" -a --chat-log-dir : Chat log dir to use") << endl << _(" -v --version : Display the version") << endl << _(" -h --help : Display this help") << endl << _(" -C --config-dir : Configuration directory to use") << endl @@ -71,7 +71,7 @@ static void printHelp() << _(" -c --character : Login with this character") << endl << _(" -s --server : Login server name or IP") << endl << _(" -p --port : Login server port") << endl - << _(" --update-host : Use this update host") << endl + << _(" -H --update-host : Use this update host") << endl << _(" -D --default : Choose default character server and " "character") << endl << _(" -u --skip-update : Skip the update downloads") << endl @@ -84,7 +84,7 @@ static void printHelp() << _(" -T --tests : Start testing drivers and " "auto configuring") << endl #ifdef USE_OPENGL - << _(" --no-opengl : Disable OpenGL for this session") << endl + << _(" -O --no-opengl : Disable OpenGL for this session") << endl #endif ; } @@ -175,7 +175,7 @@ static void parseOptions(const int argc, char *const argv[], case 'v': options.printVersion = true; break; - case 'S': + case 'L': options.localDataDir = optarg; break; case 'O': |