Code

Fix Debian bug #307905: Incorrect usage output
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 11 Apr 2010 06:45:16 +0000 (08:45 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 11 Apr 2010 06:45:16 +0000 (08:45 +0200)
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

index 235be65ca6125b9ddb97ad93f9e53d81e35fc757..b1b6f7c063f4b4b4f4d27330a494abfae5fb58af 100644 (file)
@@ -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);
 }
 
 /******************************************************************************