summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-26 17:02:59 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-26 17:02:59 +0300
commit0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b (patch)
tree831acba9a0b799490d0e4396fac8254fd0af7de5 /src
parentb462762ae88e52ba18a0610c62a9dda6ac89d32d (diff)
downloadManaVerse-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.tar.gz
ManaVerse-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.tar.bz2
ManaVerse-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.tar.xz
ManaVerse-0e14d0a92da9ce44811c7b860ef0ea8f896b4f4b.zip
Fix command line parameters.
Update command line help and man page.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp8
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':