diff options
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r-- | plugins/check_game.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c index aede055d..0e4120dd 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c | |||
@@ -78,7 +78,7 @@ main (int argc, char **argv) | |||
78 | setlocale (LC_ALL, ""); | 78 | setlocale (LC_ALL, ""); |
79 | bindtextdomain (PACKAGE, LOCALEDIR); | 79 | bindtextdomain (PACKAGE, LOCALEDIR); |
80 | textdomain (PACKAGE); | 80 | textdomain (PACKAGE); |
81 | 81 | ||
82 | if (process_arguments (argc, argv) == ERROR) | 82 | if (process_arguments (argc, argv) == ERROR) |
83 | usage_va(_("Could not parse arguments")); | 83 | usage_va(_("Could not parse arguments")); |
84 | 84 | ||
@@ -87,7 +87,7 @@ main (int argc, char **argv) | |||
87 | /* create the command line to execute */ | 87 | /* create the command line to execute */ |
88 | asprintf (&command_line, "%s -raw %s -%s %s", | 88 | asprintf (&command_line, "%s -raw %s -%s %s", |
89 | PATH_TO_QSTAT, QSTAT_DATA_DELIMITER, game_type, server_ip); | 89 | PATH_TO_QSTAT, QSTAT_DATA_DELIMITER, game_type, server_ip); |
90 | 90 | ||
91 | if (port) | 91 | if (port) |
92 | asprintf (&command_line, "%s:%-d", command_line, port); | 92 | asprintf (&command_line, "%s:%-d", command_line, port); |
93 | 93 | ||
@@ -298,11 +298,11 @@ print_help (void) | |||
298 | printf (_("This plugin tests game server connections with the specified host.")); | 298 | printf (_("This plugin tests game server connections with the specified host.")); |
299 | 299 | ||
300 | printf ("\n\n"); | 300 | printf ("\n\n"); |
301 | 301 | ||
302 | print_usage (); | 302 | print_usage (); |
303 | 303 | ||
304 | printf (_(UT_HELP_VRSN)); | 304 | printf (_(UT_HELP_VRSN)); |
305 | 305 | ||
306 | printf (" %s\n", "-p"); | 306 | printf (" %s\n", "-p"); |
307 | printf (" %s\n", _("Optional port of which to connect")); | 307 | printf (" %s\n", _("Optional port of which to connect")); |
308 | printf (" %s\n", "gf"); | 308 | printf (" %s\n", "gf"); |
@@ -314,13 +314,11 @@ print_help (void) | |||
314 | 314 | ||
315 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); | 315 | printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); |
316 | 316 | ||
317 | printf ("\n"); | ||
317 | printf ("%s\n", _("Notes:")); | 318 | printf ("%s\n", _("Notes:")); |
318 | 319 | printf (" %s\n", _("This plugin uses the 'qstat' command, the popular game server status query tool.")); | |
319 | printf ("%s\n", _("This plugin uses the 'qstat' command, the popular game server status query tool .")); | 320 | printf (" %s\n", _("If you don't have the package installed, you will need to download it from")); |
320 | 321 | printf (" %s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); | |
321 | printf ("%s\n", _("If you don't have the package installed, you will need to download it from")); | ||
322 | |||
323 | printf ("%s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); | ||
324 | 322 | ||
325 | printf (_(UT_SUPPORT)); | 323 | printf (_(UT_SUPPORT)); |
326 | } | 324 | } |