[nagiosplug] Fix Debian bug #307905: Incorrect usage output

Holger Weiss hweiss at users.sourceforge.net
Sun Apr 11 09:38:17 CEST 2010


 Module: nagiosplug
 Branch: master
 Commit: 4bf27452ab4bffbfbf6597e0c74c7f1529d10e54
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Sun Apr 11 08:45:16 2010 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=4bf2745

Fix Debian bug #307905: Incorrect usage output

The usage output of check_game was wrong, see:

	http://bugs.debian.org/307905

(Fixed by Sean Finney, forwarded by Jan Wagner.)

---

 plugins/check_game.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/check_game.c b/plugins/check_game.c
index 235be65..b1b6f7c 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -333,7 +333,7 @@ void
 print_usage (void)
 {
   printf (_("Usage:"));
-  printf (" %s <game> <ip_address> [-p port] [-gf game_field] [-mf map_field] [-pf ping_field]\n", progname);
+  printf (" %s [-hvV] [-P port] [-t timeout] [-g game_field] [-m map_field] [-p ping_field] [-G game-time] [-H hostname] <game> <ip_address>\n", progname);
 }
 
 /******************************************************************************





More information about the Commits mailing list