From 0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Feb 2013 17:02:59 +0300 Subject: Fix command line parameters. Update command line help and man page. --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main.cpp') 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': -- cgit v1.2.3-60-g2f50