diff --git a/code/nel/src/misc/cmd_args.cpp b/code/nel/src/misc/cmd_args.cpp index 65aae5769..a0801272b 100644 --- a/code/nel/src/misc/cmd_args.cpp +++ b/code/nel/src/misc/cmd_args.cpp @@ -249,6 +249,8 @@ bool CCmdArgs::parse(const std::vector &argv) { std::string name = argv[i]; + nlinfo("Argument %d: %s", i, name.c_str()); + #ifdef NL_OS_WINDOWS // support / and - under Windows, arguments should be at least 2 characters if (name.size() > 1 && (name[0] == '-' || name[0] == '/')) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 255e8e95b..cf1b6905d 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -211,10 +211,14 @@ int main(int argc, char **argv) { std::string currentPath = CPath::getApplicationDirectory("Ryzom"); + nlinfo("Current path 1: %s", currentPath.c_str()); + // append profile ID to directory if (Args.haveArg("p")) currentPath = NLMISC::CPath::standardizePath(currentPath) + Args.getArg("p").front(); + nlinfo("Current path 2: %s", currentPath.c_str()); + if (!CFile::isExists(currentPath)) CFile::createDirectory(currentPath); CPath::setCurrentPath(currentPath);