changeset 1820:95d7108f52e2

Explain the world origin setting better in the help.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 30 Oct 2017 12:28:21 +0200
parents 41469a2f3904
children 6273226160ab
files mapsearch.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mapsearch.c	Mon Oct 30 03:24:36 2017 +0200
+++ b/mapsearch.c	Mon Oct 30 12:28:21 2017 +0200
@@ -93,7 +93,7 @@
     { 2, 'l', "listen",        "Listen to interface (see below)", OPT_ARGREQ },
     { 3,   0, "ssl-ciphers",   "Specify list of SSL/TLS ciphers", OPT_ARGREQ },
     { 4,   0, "clean-chars",   "String of characters to 'clean up' from map blocks.", OPT_ARGREQ },
-    { 5, 'w', "world-origin",  "Specify the world origin <x, y> which map offsets relate to.", OPT_ARGREQ },
+    { 5, 'w', "world-origin",  "Specify the world origin <x:y> which map offsets relate to.", OPT_ARGREQ },
 };
 
 static const int optListN = sizeof(optList) / sizeof(optList[0]);
@@ -120,6 +120,9 @@
         "\n"
         "Maps and location files for each map are specified as follows:\n"
         "<filename.map>:<locfilename.loc>:<map/continent name>[:<world x-offset>:<world y-offset>]\n"
+        "\n"
+        "All the map offsets are relative to world origin coordinates, which are 0,0 by default.\n"
+        "-w 8192:8192\n"
     );
 }