From 32ee4d266200cc87c4cb0eb21990fa0ef7f46140 Mon Sep 17 00:00:00 2001 From: jak1 Date: Tue, 1 Jun 2021 06:27:16 +0200 Subject: added description to commandline help added '' to options that require an argument --- src/commandline.cpp | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/src/commandline.cpp b/src/commandline.cpp index 048565f3e..507cc91f6 100644 --- a/src/commandline.cpp +++ b/src/commandline.cpp @@ -56,71 +56,75 @@ static void printHelp() _("Options:") << std::endl << // TRANSLATORS: command line help - _(" -l --log-file : Log file to use") << std::endl << + _(" -l --log-file : Log file to use") << std::endl << // TRANSLATORS: command line help - _(" -a --chat-log-dir : Chat log dir to use") << std::endl << + _(" -a --chat-log-dir : Chat log dir to use") << std::endl << // TRANSLATORS: command line help - _(" -v --version : Display the version") << std::endl << + _(" -v --version : Display the version") << std::endl << // TRANSLATORS: command line help - _(" -h --help : Display this help") << std::endl << + _(" -h --help : Display this help") << std::endl << // TRANSLATORS: command line help - _(" -C --config-dir : Configuration directory to use") << + _(" -C --config-dir : Configuration directory to use") << std::endl << // TRANSLATORS: command line help - _(" -U --username : Login with this username") << + _(" -U --username : Login with this username") << std::endl << // TRANSLATORS: command line help - _(" -P --password : Login with this password") << + _(" -P --password : Login with this password") << std::endl << // TRANSLATORS: command line help - _(" -c --character : Login with this character") << + _(" -c --character : Login with this character") << std::endl << // TRANSLATORS: command line help - _(" -s --server : Login server name or IP") << + _(" -s --server : Login server name or IP") << std::endl << // TRANSLATORS: command line help - _(" -y --server-type : Login server type") << + _(" -y --server-type : Login server type") << std::endl << // TRANSLATORS: command line help - _(" -p --port : Login server port") << + _(" -p --port : Login server port") << std::endl << // TRANSLATORS: command line help - _(" -H --update-host : Use this update host") << + _(" -H --update-host : Use this update host") << std::endl << // TRANSLATORS: command line help - _(" -D --default : Choose default character server and " + _(" -D --default : Choose default character server and " "character") << std::endl << // TRANSLATORS: command line help - _(" -u --skip-update : Skip the update downloads") << + _(" -u --skip-update : Skip the update downloads") << std::endl << // TRANSLATORS: command line help - _(" -d --data : Directory to load game data from") << + _(" -d --data : Directory to load game data from") << std::endl << // TRANSLATORS: command line help - _(" -L --localdata-dir : Directory to use as local " + _(" -L --localdata-dir : Directory to use as local " "data directory") << std::endl << // TRANSLATORS: command line help - _(" --screenshot-dir : Directory to store screenshots") << + _(" --screenshot-dir : Directory to store screenshots") << std::endl << // TRANSLATORS: command line help - _(" --safemode : Start game in safe mode") << + _(" --safemode : Start game in safe mode") << std::endl << // TRANSLATORS: command line help - _(" --renderer : Set renderer type") << + _(" --renderer : Set renderer type") << std::endl << // TRANSLATORS: command line help - _(" -T --tests : Start testing drivers and " + _(" -T --tests : Start testing drivers and " "auto configuring") << std::endl << // TRANSLATORS: command line help - _(" -V --validate : Start validating client data") << + _(" -V --validate : Start validating client data") << + std::endl << + // TRANSLATORS: command line help + _(" -S --uniqueSession : Disables back to login " + "(Launcher/Vault/Steam only option!)") << std::endl #ifdef USE_OPENGL << // TRANSLATORS: command line help - _(" -O --no-opengl : Disable OpenGL for this session") << + _(" -O --no-opengl : Disable OpenGL for this session") << std::endl #endif // USE_OPENGL ; -- cgit v1.2.3-60-g2f50