summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r--plugins/check_game.c35
1 files changed, 14 insertions, 21 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index 9f9ff7d..32f2e6a 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -282,37 +282,30 @@ print_help (void)
282 282
283 printf (_("This plugin tests game server connections with the specified host.")); 283 printf (_("This plugin tests game server connections with the specified host."));
284 284
285 printf ("\n\n"); 285 printf ("\n\n");
286 286
287 print_usage (); 287 print_usage ();
288 288
289 printf (_(UT_HELP_VRSN)); 289 printf (_(UT_HELP_VRSN));
290 290
291 printf (_("\ 291 printf (" %s\n", "-p");
292<game> = Game type that is recognised by qstat (without the leading dash)\n\ 292 printf (" %s\n", _("Optional port of which to connect"));
293<ip_address> = The IP address of the device you wish to query\n\ 293 printf (" %s\n", "gf");
294 [port] = Optional port of which to connect\n\ 294 printf (" %s\n", _("Field number in raw qstat output that contains game name"));
295 [game_field] = Field number in raw qstat output that contains game name\n\ 295 printf (" %s\n", "-mf");
296 [map_field] = Field number in raw qstat output that contains map name\n\ 296 printf (" %s\n", _("Field number in raw qstat output that contains map name"));
297 [ping_field] = Field number in raw qstat output that contains ping time\n")); 297 printf (" %s\n", "-pf");
298 printf (" %s\n", _("Field number in raw qstat output that contains ping time"));
298 299
299 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); 300 printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
300 301
301 printf (_("Notes:")); 302 printf ("%s\n", _("Notes:"));
302
303 printf ("\n");
304
305 printf (_("This plugin uses the 'qstat' command, the popular game server status query tool ."));
306
307 printf ("\n");
308 303
309 printf (_("If you don't have the package installed, you will need to download it from")); 304 printf ("%s\n", _("This plugin uses the 'qstat' command, the popular game server status query tool ."));
310
311 printf ("\n");
312 305
313 printf (_("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); 306 printf ("%s\n", _("If you don't have the package installed, you will need to download it from"));
314 307
315 printf ("\n"); 308 printf ("%s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin."));
316 309
317 printf (_(UT_SUPPORT)); 310 printf (_(UT_SUPPORT));
318} 311}