From b2bfd4555a535ca0389ea3d89154ed1d27f1ac3b Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Wed, 14 Jun 2006 21:27:38 +0000 Subject: 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 --- plugins/check_game.c | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) (limited to 'plugins/check_game.c') 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 type that is recognised by qstat (without the leading dash)\n\ - = 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)); } -- cgit v1.2.3-74-g34f1