From 816cd3f3bff74104df24f10431c8229f11b4a64b Mon Sep 17 00:00:00 2001 From: kxxvii Date: Mon, 21 Oct 2019 19:54:54 +0200 Subject: [PATCH] Additional trivial type/word fixes for man page and '-h' (#4102) * Command-line help typo, fix modified: src/main.cpp * Typo fix, GNU/Linux manual new file: doc/supertuxkart.1 modified: src/main.cpp * More word and typo fixes in man/'-h' modified: doc/supertuxkart.1 modified: src/main.cpp --- doc/supertuxkart.1 | 20 ++++++++++---------- src/main.cpp | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/supertuxkart.1 b/doc/supertuxkart.1 index 5b10125b4..4d4c20b90 100644 --- a/doc/supertuxkart.1 +++ b/doc/supertuxkart.1 @@ -227,7 +227,7 @@ Start a LAN server (not a playing client). .PP .BR \-\-server\-password=PASS .RS 4 -Sets a password for a server (both client&server). +Sets a password for a server (both client and server). .RE .PP .BR \-\-connect\-now=IP @@ -245,13 +245,13 @@ public port. .PP .BR \-\-server\-id=N .RS 4 -Server id in STK addons for. "\-\-connect\-now". +Server id in STK addons for "\-\-connect\-now". .RE .PP .BR \-\-network\-ai=N .RS 4 Numbers of AI for connecting to linear race server, used -together with. "\-\-connect\-now". +together with "\-\-connect\-now". .RE .PP .BR \-\-login=S @@ -291,7 +291,7 @@ Maximum number of clients (server only). .PP .BR \-\-min\-players=N .RS 4 -Minimum number of clients for owner less server(server only). +Minimum number of clients for ownerless server (server only). .RE .PP .BR \-\-motd @@ -342,18 +342,18 @@ Server will submit ranking to STK addons server. .PP .BR \-\-no\-ranked .RS 4 -Server will not submit ranking to STK addons server. -You require permission for that. +Server will not submit ranking to STK addons server. You +require permission for that. .RE .PP .BR \-\-owner\-less .RS 4 -Race will auto start and no one can kick players in server. +Race will autostart and no one can kick players in server. .RE .PP .BR \-\-no\-owner\-less .RS 4 -Race will not auto start and server owner can kick players in server. +Race will not autostart and server owner can kick players in server. .RE .PP .BR \-\-firewalled\-server @@ -554,8 +554,8 @@ strings to opengl, which can be seen later in apitrace. .SH "AUTHOR" .PP This manual page was based an earlier one written by Gonéri Le Bouder - (2006, GPLv2) for the GNU/Linux Debian Operation System, -in addition to the official SuperTuxKart command-line options. Steve Baker + (2006, GPLv2) for the GNU/Linux Debian Operating System, +in addition to the official SuperTuxKart command-line options, Steve Baker (2004-2015, GPL v3), Joerg Henrichs, Marianne Gagnon (2011-2015, GPLv3). Edited by J. T-Katiska (2019, GPLv3). diff --git a/src/main.cpp b/src/main.cpp index 9ea43d5e4..48e89bc74 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -610,7 +610,7 @@ void cmdLineHelp() " --wan-server=name Start a Wan server (not a playing client).\n" " --public-server Allow direct connection to the server (without stk server)\n" " --lan-server=name Start a LAN server (not a playing client).\n" - " --server-password= Sets a password for a server (both client&server).\n" + " --server-password= Sets a password for a server (both client and server).\n" " --connect-now=ip Connect to a server with IP known now\n" " (in format x.x.x.x:xxx(port)), the port should be its\n" " public port.\n" @@ -627,7 +627,7 @@ void cmdLineHelp() " --port=n Port number to use.\n" " --auto-connect Automatically connect to first server and start race\n" " --max-players=n Maximum number of clients (server only).\n" - " --min-players=n Minimum number of clients for owner less server(server only).\n" + " --min-players=n Minimum number of clients for ownerless server(server only).\n" " --motd Message showing in all lobby of clients, can specify a .txt file.\n" " --auto-end Automatically end network game after 1st player finished\n" " for some time (currently his finished time * 0.25 + 15.0). \n" @@ -640,8 +640,8 @@ void cmdLineHelp() " --ranked Server will submit ranking to stk addons server.\n" " --no-ranked Server will not submit ranking to stk addons server.\n" " You require permission for that.\n" - " --owner-less Race will auto start and no one can kick players in server.\n" - " --no-owner-less Race will not auto start and server owner can kick players in server.\n" + " --owner-less Race will autostart and no one can kick players in server.\n" + " --no-owner-less Race will not autostart and server owner can kick players in server.\n" " --firewalled-server Turn on all stun related code in server.\n" " --no-firewalled-server Turn off all stun related code in server.\n" " --connection-debug Print verbose info for sending or receiving packets.\n"