Load theConfig before initializing Application.

This commit is contained in:
Arthur Britto
2012-04-28 15:13:32 -07:00
parent 21f6dd1f87
commit 67e34a1594
2 changed files with 6 additions and 2 deletions

View File

@@ -47,14 +47,17 @@ void printHelp()
int parseCommandline(int argc, char* argv[])
{
int ret=0;
theConfig.load();
if(argc>1)
{
theConfig.load();
ret=commandLineRPC(argc, argv);
if(ret)
printHelp();
}
else startApp();
return ret;
}