diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-27 14:35:26 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-27 14:35:26 +0000 |
commit | ed62784a0b68959fd13fe5bc53a5aef4f17fbffa (patch) | |
tree | f479a5b8ad8cac8d6dcc506ba61aa5ec3fbb5bb3 /plugins/check_game.c | |
parent | 140a93ce6bce63df2d70841f2f78aa968ea997d6 (diff) | |
download | monitoring-plugins-ed62784a0b68959fd13fe5bc53a5aef4f17fbffa.tar.gz |
--help output cleanup (plus removal of spaces on blank lines)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1984 f882894a-f735-0410-b71e-b25c423dba1c
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 | } |