engine: host: fit -help into 80 columns terminal

This commit is contained in:
Alibek Omarov 2024-03-19 21:13:23 +03:00
parent fe5944720b
commit 049bed555e
1 changed files with 5 additions and 3 deletions

View File

@ -92,8 +92,9 @@ static void Sys_PrintUsage( void )
O("-minidumps ", "enable writing minidumps when game is crashed") O("-minidumps ", "enable writing minidumps when game is crashed")
#endif #endif
O("-rodir <path> ", "set read-only base directory") O("-rodir <path> ", "set read-only base directory")
O("-bugcomp ", "enable precise bug compatibility. Will break games that don't require it") O("-bugcomp ", "enable precise bug compatibility")
O(" ", "Refer to engine documentation for more info") O(" ", "will break games that don't require it")
O(" ", "refer to engine documentation for more info")
O("-disablehelp ", "disable this message") O("-disablehelp ", "disable this message")
#if !XASH_DEDICATED #if !XASH_DEDICATED
O("-dedicated ", "run engine in dedicated mode") O("-dedicated ", "run engine in dedicated mode")
@ -106,7 +107,8 @@ static void Sys_PrintUsage( void )
O("-noip6 ", "disable IPv6") O("-noip6 ", "disable IPv6")
O("-ip6 <ip> ", "set IPv6 address") O("-ip6 <ip> ", "set IPv6 address")
O("-port6 <port> ", "set IPv6 port") O("-port6 <port> ", "set IPv6 port")
O("-clockwindow <cw>", "adjust clockwindow used to ignore client commands to prevent speed hacks") O("-clockwindow <cw>", "adjust clockwindow used to ignore client commands")
O(" ", "to prevent speed hacks")
"\nGame options:\n" "\nGame options:\n"
O("-game <directory>", "set game directory to start engine with") O("-game <directory>", "set game directory to start engine with")