diff options
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r-- | plugins/check_game.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c index 511e9617..8b2a6c42 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c | |||
@@ -14,6 +14,7 @@ | |||
14 | * along with this program; if not, write to the Free Software | 14 | * along with this program; if not, write to the Free Software |
15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
16 | * | 16 | * |
17 | * $Id$ | ||
17 | *****************************************************************************/ | 18 | *****************************************************************************/ |
18 | 19 | ||
19 | const char *progname = "check_game"; | 20 | const char *progname = "check_game"; |
@@ -64,9 +65,12 @@ main (int argc, char **argv) | |||
64 | bindtextdomain (PACKAGE, LOCALEDIR); | 65 | bindtextdomain (PACKAGE, LOCALEDIR); |
65 | textdomain (PACKAGE); | 66 | textdomain (PACKAGE); |
66 | 67 | ||
67 | result = process_arguments (argc, argv); | 68 | // result = process_arguments (argc, argv); |
69 | |||
70 | if (process_arguments (argc, argv) == ERROR) | ||
71 | usage (_("check_game: could not parse arguments\n")); | ||
68 | 72 | ||
69 | if (result != OK) { | 73 | /* if (result != OK) { |
70 | printf (_("Incorrect arguments supplied\n")); | 74 | printf (_("Incorrect arguments supplied\n")); |
71 | printf ("\n"); | 75 | printf ("\n"); |
72 | print_revision (progname, revision); | 76 | print_revision (progname, revision); |
@@ -75,6 +79,7 @@ main (int argc, char **argv) | |||
75 | printf ("\n"); | 79 | printf ("\n"); |
76 | return STATE_UNKNOWN; | 80 | return STATE_UNKNOWN; |
77 | } | 81 | } |
82 | */ | ||
78 | 83 | ||
79 | result = STATE_OK; | 84 | result = STATE_OK; |
80 | 85 | ||
@@ -302,7 +307,6 @@ validate_arguments (void) | |||
302 | 307 | ||
303 | 308 | ||
304 | 309 | ||
305 | |||
306 | void | 310 | void |
307 | print_help (void) | 311 | print_help (void) |
308 | { | 312 | { |