summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-01 23:54:51 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-01 23:54:51 (GMT)
commitd19edd4043c498626fe68308005947975ef0a697 (patch)
tree7a213ee16f9331e928b1c32aa6c521c05519db58 /plugins/check_game.c
parent1d8128e328f714258b7fec0c62245e1d187e0439 (diff)
downloadmonitoring-plugins-d19edd4043c498626fe68308005947975ef0a697.tar.gz
standardize localization string
standardize unknow arguments git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@969 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r--plugins/check_game.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index 511e961..8b2a6c4 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
19const char *progname = "check_game"; 20const 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
306void 310void
307print_help (void) 311print_help (void)
308{ 312{