Clean up output (#2856)
This commit is contained in:
parent
ae19ade5e5
commit
10e439b6a1
56
src/main.cpp
56
src/main.cpp
@ -527,31 +527,31 @@ void cmdLineHelp()
|
|||||||
{
|
{
|
||||||
fprintf(stdout,
|
fprintf(stdout,
|
||||||
"Usage: %s [OPTIONS]\n\n"
|
"Usage: %s [OPTIONS]\n\n"
|
||||||
"Run SuperTuxKart, a racing game with go-kart that features"
|
"Run SuperTuxKart, a go-kart racing game that features "
|
||||||
" the Tux and friends.\n\n"
|
"Tux and friends.\n\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
" -N, --no-start-screen Immediately start race without showing a "
|
" -N, --no-start-screen Immediately start race without showing a "
|
||||||
"menu.\n"
|
"menu.\n"
|
||||||
" -R, --race-now Same as -N but also skip the ready-set-go phase"
|
" -R, --race-now Same as -N but also skip the ready-set-go phase"
|
||||||
" and the music.\n"
|
" and the music.\n"
|
||||||
" -t, --track=NAME Start at track NAME.\n"
|
" -t, --track=NAME Start track NAME.\n"
|
||||||
" --gp=NAME Start the specified Grand Prix.\n"
|
" --gp=NAME Start the specified Grand Prix.\n"
|
||||||
" --add-gp-dir=DIR Load Grand Prix in DIR. Setting will be saved "
|
" --add-gp-dir=DIR Load Grand Prix files in DIR. Setting will be saved "
|
||||||
"inconfig.xml under additional_gp_directory. Use "
|
"in config.xml under additional_gp_directory. Use "
|
||||||
"--add-gp-dir=\"\" to unset.\n"
|
"--add-gp-dir=\"\" to unset.\n"
|
||||||
" --stk-config=FILE use ./data/FILE instead of "
|
" --stk-config=FILE use ./data/FILE instead of "
|
||||||
"./data/stk_config.xml\n"
|
"./data/stk_config.xml\n"
|
||||||
" -k, --numkarts=NUM Number of karts on the racetrack.\n"
|
" -k, --numkarts=NUM Set number of karts on the racetrack.\n"
|
||||||
" --kart=NAME Use kart number NAME.\n"
|
" --kart=NAME Use kart NAME.\n"
|
||||||
" --ai=a,b,... Use the karts a, b, ... for the AI.\n"
|
" --ai=a,b,... Use the karts a, b, ... for the AI.\n"
|
||||||
" --laps=N Define number of laps to N.\n"
|
" --laps=N Define number of laps to N.\n"
|
||||||
" --mode=N N=1 novice, N=2 driver, N=3 racer.\n"
|
" --mode=N N=1 Beginner, N=2 Intermediate, N=3 Expert, N=4 SuperTux.\n"
|
||||||
" --type=N N=0 Normal, N=1 Time trial, N=2 FTL\n"
|
" --type=N N=0 Normal, N=1 Time trial, N=2 Follow The Leader\n"
|
||||||
" --reverse Play track in reverse (if allowed)\n"
|
" --reverse Play track in reverse (if allowed)\n"
|
||||||
" -f, --fullscreen Select fullscreen display.\n"
|
" -f, --fullscreen Use fullscreen display.\n"
|
||||||
" -w, --windowed Windowed display (default).\n"
|
" -w, --windowed Use windowed display (default).\n"
|
||||||
" -s, --screensize=WxH Set the screen size (e.g. 320x200).\n"
|
" -s, --screensize=WxH Set the display size (e.g. 320x200).\n"
|
||||||
" -v, --version Show version of SuperTuxKart.\n"
|
" -v, --version Print version of SuperTuxKart.\n"
|
||||||
" --trackdir=DIR A directory from which additional tracks are "
|
" --trackdir=DIR A directory from which additional tracks are "
|
||||||
"loaded.\n"
|
"loaded.\n"
|
||||||
" --profile-laps=n Enable automatic driven profile mode for n "
|
" --profile-laps=n Enable automatic driven profile mode for n "
|
||||||
@ -559,11 +559,11 @@ void cmdLineHelp()
|
|||||||
" --profile-time=n Enable automatic driven profile mode for n "
|
" --profile-time=n Enable automatic driven profile mode for n "
|
||||||
"seconds.\n"
|
"seconds.\n"
|
||||||
" --no-graphics Do not display the actual race.\n"
|
" --no-graphics Do not display the actual race.\n"
|
||||||
" --demo-mode=t Enables demo mode after t seconds idle time in "
|
" --demo-mode=t Enables demo mode after t seconds of idle time in "
|
||||||
"main menu.\n"
|
"main menu.\n"
|
||||||
" --demo-tracks=t1,t2 List of tracks to be used in demo mode. No\n"
|
" --demo-tracks=t1,t2 List of tracks to be used in demo mode. No"
|
||||||
" spaces are allowed in the track names.\n"
|
" spaces are allowed in the track names.\n"
|
||||||
" --demo-laps=n Number of laps in a demo.\n"
|
" --demo-laps=n Number of laps to use in a demo.\n"
|
||||||
" --demo-karts=n Number of karts to use in a demo.\n"
|
" --demo-karts=n Number of karts to use in a demo.\n"
|
||||||
// " --history Replay history file 'history.dat'.\n"
|
// " --history Replay history file 'history.dat'.\n"
|
||||||
// " --history=n Replay history file 'history.dat' using:\n"
|
// " --history=n Replay history file 'history.dat' using:\n"
|
||||||
@ -596,8 +596,8 @@ void cmdLineHelp()
|
|||||||
" This is for internal debugging use only.\n"
|
" This is for internal debugging use only.\n"
|
||||||
" --enable-glow Enable glow effect.\n"
|
" --enable-glow Enable glow effect.\n"
|
||||||
" --disable-glow Disable glow effect.\n"
|
" --disable-glow Disable glow effect.\n"
|
||||||
" --enable-bloom Enable bloom graphical effect.\n"
|
" --enable-bloom Enable bloom effect.\n"
|
||||||
" --disable-bloom Disable bloom graphical effect.\n"
|
" --disable-bloom Disable bloom effect.\n"
|
||||||
" --enable-light-shaft Enable light shafts (God rays).\n"
|
" --enable-light-shaft Enable light shafts (God rays).\n"
|
||||||
" --disable-light-shaft Disable light shafts (God rays).\n"
|
" --disable-light-shaft Disable light shafts (God rays).\n"
|
||||||
" --enable-dof Enable depth of field.\n"
|
" --enable-dof Enable depth of field.\n"
|
||||||
@ -618,17 +618,17 @@ void cmdLineHelp()
|
|||||||
" --disable-ibl Disable image based lighting.\n"
|
" --disable-ibl Disable image based lighting.\n"
|
||||||
" --enable-hd-textures Enable high definition textures.\n"
|
" --enable-hd-textures Enable high definition textures.\n"
|
||||||
" --disable-hd-textures Disable high definition textures.\n"
|
" --disable-hd-textures Disable high definition textures.\n"
|
||||||
" --enable-dynamic-lights Enable advanced pipline graphical options.\n"
|
" --enable-dynamic-lights Enable advanced pipline.\n"
|
||||||
" --disable-dynamic-lights Disable advanced pipline graphical options.\n"
|
" --disable-dynamic-lights Disable advanced pipline.\n"
|
||||||
" --enable-trilinear Enable trilinear texture filtering.\n"
|
" --enable-trilinear Use trilinear texture filtering.\n"
|
||||||
" --disable-trilinear Use bilinear texture filtering.\n"
|
" --disable-trilinear Use bilinear texture filtering.\n"
|
||||||
" --anisotropic=n Anisotropic filtering quality (0 to disable).\n"
|
" --anisotropic=n Anisotropic filtering quality (0 to disable).\n"
|
||||||
" Takes precedence over trilinear or bilinear\n"
|
" Takes precedence over trilinear or bilinear\n"
|
||||||
" texture filtering.\n"
|
" texture filtering.\n"
|
||||||
" --shadows=n Set shadow quality (0 to disable shadows).\n"
|
" --shadows=n Set resolution of shadows (0 to disable).\n"
|
||||||
"\n"
|
"\n"
|
||||||
"You can visit SuperTuxKart's homepage at "
|
"You can visit SuperTuxKart's homepage at "
|
||||||
"http://supertuxkart.net\n\n",
|
"https://supertuxkart.net\n\n",
|
||||||
CommandLine::getExecName().c_str()
|
CommandLine::getExecName().c_str()
|
||||||
);
|
);
|
||||||
} // cmdLineHelp
|
} // cmdLineHelp
|
||||||
@ -651,10 +651,6 @@ int handleCmdLineOutputModifier()
|
|||||||
{
|
{
|
||||||
Log::info("main", "==============================");
|
Log::info("main", "==============================");
|
||||||
Log::info("main", "SuperTuxKart, %s.", STK_VERSION ) ;
|
Log::info("main", "SuperTuxKart, %s.", STK_VERSION ) ;
|
||||||
// IRRLICHT_VERSION_SVN
|
|
||||||
Log::info("main", "Irrlicht version %i.%i.%i (%s)",
|
|
||||||
IRRLICHT_VERSION_MAJOR , IRRLICHT_VERSION_MINOR,
|
|
||||||
IRRLICHT_VERSION_REVISION, IRRLICHT_SDK_VERSION );
|
|
||||||
Log::info("main", "==============================");
|
Log::info("main", "==============================");
|
||||||
cleanUserConfig();
|
cleanUserConfig();
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user