summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblue112 <bluesansdouze@gmail.com>2009-04-22 21:25:31 +0200
committerJared Adams <jaxad0127@gmail.com>2009-04-22 14:04:30 -0600
commit0b1079c93c9ec61a0e0c00f8c942e5ef84052c05 (patch)
treec2b82ab7643086382f511df5eb0d1e5c96eea732
parent5daf061f697f5e67578d7ebd228e2aa47d20d3fd (diff)
downloadMana-0b1079c93c9ec61a0e0c00f8c942e5ef84052c05.tar.gz
Mana-0b1079c93c9ec61a0e0c00f8c942e5ef84052c05.tar.bz2
Mana-0b1079c93c9ec61a0e0c00f8c942e5ef84052c05.tar.xz
Mana-0b1079c93c9ec61a0e0c00f8c942e5ef84052c05.zip
Help update
Complete the help for the -D option.
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b6635be0..14baffbd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -370,7 +370,7 @@ static void initConfiguration(const Options &options)
if (configPath.empty())
configPath = homeDir + "/config.xml";
-
+
configFile = fopen(configPath.c_str(), "r");
// If we can't read it, it doesn't exist !
@@ -563,7 +563,8 @@ static void printHelp()
<< _("Options: ") << std::endl
<< _(" -C --configfile : Configuration file to use") << std::endl
<< _(" -d --data : Directory to load game data from") << std::endl
- << _(" -D --default : Bypass the login process with default settings")
+ << _(" -D --default : Bypass the login process with default settings"
+ " from config.xml")
<< std::endl
<< _(" -h --help : Display this help") << std::endl
<< _(" -S --homedir : Directory to use as home directory") << std::endl