summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-10-22 12:47:04 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-10-22 12:47:04 +0200
commit1d96d9d100e528d881d57398bb8e13c6b0f7b559 (patch)
treea46a8892579e60df1f25ca2aeb764049a31d8a54
parent6a5bdcbcc9b04cf514d1207fdee4241d4f4f2875 (diff)
downloadmana-1d96d9d100e528d881d57398bb8e13c6b0f7b559.tar.gz
mana-1d96d9d100e528d881d57398bb8e13c6b0f7b559.tar.bz2
mana-1d96d9d100e528d881d57398bb8e13c6b0f7b559.tar.xz
mana-1d96d9d100e528d881d57398bb8e13c6b0f7b559.zip
Removed short forms for --localdata-dir and --chat-log-dir
They are more confusing than helpful. Users of these options would likely set up a shortcut or alias already anyway.
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fe1427be..41f1c3d5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -58,8 +58,8 @@ static void printHelp()
"character") << endl
<< _(" -u --skip-update : Skip the update downloads") << endl
<< _(" -d --data : Directory to load game data from") << endl
- << _(" -L --localdata-dir : Directory to use as local data directory") << endl
- << _(" -T --chat-log-dir : Chat log dir to use") << endl
+ << _(" --localdata-dir : Directory to use as local data directory") << endl
+ << _(" --chat-log-dir : Chat log dir to use") << endl
<< _(" --screenshot-dir : Directory to store screenshots") << endl
#ifdef USE_OPENGL
<< _(" --no-opengl : Disable OpenGL for this session") << endl
@@ -74,7 +74,7 @@ static void printVersion()
static void parseOptions(int argc, char *argv[], Client::Options &options)
{
- const char *optstring = "hvud:U:P:Dc:s:p:C:L:T:";
+ const char *optstring = "hvud:U:P:Dc:s:p:C:";
const struct option long_options[] = {
{ "config-dir", required_argument, 0, 'C' },