Browse Source

engine: common: cosmetic changes to usage string generating code

pull/2/head
Alibek Omarov 3 years ago
parent
commit
fba323cf1f
  1. 6
      engine/common/host.c

6
engine/common/host.c

@ -86,9 +86,11 @@ void Sys_PrintUsage( void )
O("-dev [level] ","set log verbosity 0-2") O("-dev [level] ","set log verbosity 0-2")
O("-log ","write log to \"engine.log\"") O("-log ","write log to \"engine.log\"")
O("-nowriteconfig ","disable config save") O("-nowriteconfig ","disable config save")
#if !XASH_WIN32 #if !XASH_WIN32
O("-casesensitive ","disable case-insensitive FS emulation") O("-casesensitive ","disable case-insensitive FS emulation")
#endif // !XASH_WIN32 #endif // !XASH_WIN32
#if !XASH_MOBILE_PLATFORM #if !XASH_MOBILE_PLATFORM
O("-daemonize ","run engine in background, dedicated only") O("-daemonize ","run engine in background, dedicated only")
#endif // !XASH_MOBILE_PLATFORM #endif // !XASH_MOBILE_PLATFORM
@ -129,6 +131,7 @@ void Sys_PrintUsage( void )
#endif // XASH_SOUND == SOUND_ALSA #endif // XASH_SOUND == SOUND_ALSA
O("-nojoy ","disable joystick support") O("-nojoy ","disable joystick support")
#ifdef XASH_SDL #ifdef XASH_SDL
O("-sdl_joy_old_api ","use SDL legacy joystick API") O("-sdl_joy_old_api ","use SDL legacy joystick API")
O("-sdl_renderer <n>","use alternative SDL_Renderer for software") O("-sdl_renderer <n>","use alternative SDL_Renderer for software")
@ -138,14 +141,13 @@ void Sys_PrintUsage( void )
O("-ref <name> ","use selected renderer dll") O("-ref <name> ","use selected renderer dll")
O("-gldebug ","enable OpenGL debug log") O("-gldebug ","enable OpenGL debug log")
#endif // XASH_DEDICATED #endif // XASH_DEDICATED
O("-noip ","disable TCP/IP") O("-noip ","disable TCP/IP")
O("-noch ","disable crashhandler") O("-noch ","disable crashhandler")
O("-disablehelp ","disable this message") O("-disablehelp ","disable this message")
O("-dll <path> ","override server DLL path") O("-dll <path> ","override server DLL path")
#ifndef XASH_DEDICATED #if !XASH_DEDICATED
O("-clientlib <path>","override client DLL path") O("-clientlib <path>","override client DLL path")
#endif #endif
O("-rodir <path> ","set read-only base directory, experimental") O("-rodir <path> ","set read-only base directory, experimental")

Loading…
Cancel
Save