Jelajahi Sumber

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.)
Holger Weiss 16 tahun lalu
induk
melakukan
4bf27452ab
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      plugins/check_game.c

+ 1 - 1
plugins/check_game.c

@@ -333,7 +333,7 @@ void
 print_usage (void)
 print_usage (void)
 {
 {
   printf (_("Usage:"));
   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);
 }
 }
 
 
 /******************************************************************************
 /******************************************************************************