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,
|
||||
"Usage: %s [OPTIONS]\n\n"
|
||||
"Run SuperTuxKart, a racing game with go-kart that features"
|
||||
" the Tux and friends.\n\n"
|
||||
"Run SuperTuxKart, a go-kart racing game that features "
|
||||
"Tux and friends.\n\n"
|
||||
"Options:\n"
|
||||
" -N, --no-start-screen Immediately start race without showing a "
|
||||
"menu.\n"
|
||||
" -R, --race-now Same as -N but also skip the ready-set-go phase"
|
||||
" 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"
|
||||
" --add-gp-dir=DIR Load Grand Prix in DIR. Setting will be saved "
|
||||
"inconfig.xml under additional_gp_directory. Use "
|
||||
" --add-gp-dir=DIR Load Grand Prix files in DIR. Setting will be saved "
|
||||
"in config.xml under additional_gp_directory. Use "
|
||||
"--add-gp-dir=\"\" to unset.\n"
|
||||
" --stk-config=FILE use ./data/FILE instead of "
|
||||
"./data/stk_config.xml\n"
|
||||
" -k, --numkarts=NUM Number of karts on the racetrack.\n"
|
||||
" --kart=NAME Use kart number NAME.\n"
|
||||
" -k, --numkarts=NUM Set number of karts on the racetrack.\n"
|
||||
" --kart=NAME Use kart NAME.\n"
|
||||
" --ai=a,b,... Use the karts a, b, ... for the AI.\n"
|
||||
" --laps=N Define number of laps to N.\n"
|
||||
" --mode=N N=1 novice, N=2 driver, N=3 racer.\n"
|
||||
" --type=N N=0 Normal, N=1 Time trial, N=2 FTL\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 Follow The Leader\n"
|
||||
" --reverse Play track in reverse (if allowed)\n"
|
||||
" -f, --fullscreen Select fullscreen display.\n"
|
||||
" -w, --windowed Windowed display (default).\n"
|
||||
" -s, --screensize=WxH Set the screen size (e.g. 320x200).\n"
|
||||
" -v, --version Show version of SuperTuxKart.\n"
|
||||
" -f, --fullscreen Use fullscreen display.\n"
|
||||
" -w, --windowed Use windowed display (default).\n"
|
||||
" -s, --screensize=WxH Set the display size (e.g. 320x200).\n"
|
||||
" -v, --version Print version of SuperTuxKart.\n"
|
||||
" --trackdir=DIR A directory from which additional tracks are "
|
||||
"loaded.\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 "
|
||||
"seconds.\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"
|
||||
" --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"
|
||||
" --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"
|
||||
// " --history Replay history file 'history.dat'.\n"
|
||||
// " --history=n Replay history file 'history.dat' using:\n"
|
||||
@ -596,8 +596,8 @@ void cmdLineHelp()
|
||||
" This is for internal debugging use only.\n"
|
||||
" --enable-glow Enable glow effect.\n"
|
||||
" --disable-glow Disable glow effect.\n"
|
||||
" --enable-bloom Enable bloom graphical effect.\n"
|
||||
" --disable-bloom Disable bloom graphical effect.\n"
|
||||
" --enable-bloom Enable bloom effect.\n"
|
||||
" --disable-bloom Disable bloom effect.\n"
|
||||
" --enable-light-shaft Enable light shafts (God rays).\n"
|
||||
" --disable-light-shaft Disable light shafts (God rays).\n"
|
||||
" --enable-dof Enable depth of field.\n"
|
||||
@ -618,17 +618,17 @@ void cmdLineHelp()
|
||||
" --disable-ibl Disable image based lighting.\n"
|
||||
" --enable-hd-textures Enable high definition textures.\n"
|
||||
" --disable-hd-textures Disable high definition textures.\n"
|
||||
" --enable-dynamic-lights Enable advanced pipline graphical options.\n"
|
||||
" --disable-dynamic-lights Disable advanced pipline graphical options.\n"
|
||||
" --enable-trilinear Enable trilinear texture filtering.\n"
|
||||
" --enable-dynamic-lights Enable advanced pipline.\n"
|
||||
" --disable-dynamic-lights Disable advanced pipline.\n"
|
||||
" --enable-trilinear Use trilinear texture filtering.\n"
|
||||
" --disable-trilinear Use bilinear texture filtering.\n"
|
||||
" --anisotropic=n Anisotropic filtering quality (0 to disable).\n"
|
||||
" Takes precedence over trilinear or bilinear\n"
|
||||
" texture filtering.\n"
|
||||
" --shadows=n Set shadow quality (0 to disable shadows).\n"
|
||||
" --anisotropic=n Anisotropic filtering quality (0 to disable).\n"
|
||||
" Takes precedence over trilinear or bilinear\n"
|
||||
" texture filtering.\n"
|
||||
" --shadows=n Set resolution of shadows (0 to disable).\n"
|
||||
"\n"
|
||||
"You can visit SuperTuxKart's homepage at "
|
||||
"http://supertuxkart.net\n\n",
|
||||
"https://supertuxkart.net\n\n",
|
||||
CommandLine::getExecName().c_str()
|
||||
);
|
||||
} // cmdLineHelp
|
||||
@ -651,10 +651,6 @@ int handleCmdLineOutputModifier()
|
||||
{
|
||||
Log::info("main", "==============================");
|
||||
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", "==============================");
|
||||
cleanUserConfig();
|
||||
exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user