diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-14 21:27:38 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-14 21:27:38 +0000 |
commit | b2bfd4555a535ca0389ea3d89154ed1d27f1ac3b (patch) | |
tree | 98d64d0a9fa98c27bdd556108b557a77755420a5 /plugins/check_game.c | |
parent | 8e7eecefca0c5433058c70a4420a7910099444d6 (diff) | |
download | monitoring-plugins-b2bfd4555a535ca0389ea3d89154ed1d27f1ac3b.tar.gz |
updating the help and usage for localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1427 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r-- | plugins/check_game.c | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c index 9f9ff7d8..32f2e6a9 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c @@ -282,37 +282,30 @@ print_help (void) printf (_("This plugin tests game server connections with the specified host.")); - printf ("\n\n"); + printf ("\n\n"); print_usage (); printf (_(UT_HELP_VRSN)); - - printf (_("\ -<game> = Game type that is recognised by qstat (without the leading dash)\n\ -<ip_address> = The IP address of the device you wish to query\n\ - [port] = Optional port of which to connect\n\ - [game_field] = Field number in raw qstat output that contains game name\n\ - [map_field] = Field number in raw qstat output that contains map name\n\ - [ping_field] = Field number in raw qstat output that contains ping time\n")); + + printf (" %s\n", "-p"); + printf (" %s\n", _("Optional port of which to connect")); + printf (" %s\n", "gf"); + printf (" %s\n", _("Field number in raw qstat output that contains game name")); + printf (" %s\n", "-mf"); + printf (" %s\n", _("Field number in raw qstat output that contains map name")); + printf (" %s\n", "-pf"); + printf (" %s\n", _("Field number in raw qstat output that contains ping time")); printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); - printf (_("Notes:")); - - printf ("\n"); - - printf (_("This plugin uses the 'qstat' command, the popular game server status query tool .")); - - printf ("\n"); + printf ("%s\n", _("Notes:")); - printf (_("If you don't have the package installed, you will need to download it from")); - - printf ("\n"); + printf ("%s\n", _("This plugin uses the 'qstat' command, the popular game server status query tool .")); - printf (_("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); + printf ("%s\n", _("If you don't have the package installed, you will need to download it from")); - printf ("\n"); + printf ("%s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin.")); printf (_(UT_SUPPORT)); } |