summaryrefslogtreecommitdiffstats
path: root/plugins/check_game.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 16:51:25 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 16:51:25 (GMT)
commit234481163fc3caf0cb8b14f601f0f9f1458f97f5 (patch)
treee8debce30a2722f5f4dc5e33faf54c9915dd022f /plugins/check_game.c
parentdf1bd0c89ff63de64ee630e0025389651947020c (diff)
downloadmonitoring-plugins-234481163fc3caf0cb8b14f601f0f9f1458f97f5.tar.gz
More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_game.c')
-rw-r--r--plugins/check_game.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/check_game.c b/plugins/check_game.c
index c8492d8..89c212e 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -64,22 +64,9 @@ main (int argc, char **argv)
64 setlocale (LC_ALL, ""); 64 setlocale (LC_ALL, "");
65 bindtextdomain (PACKAGE, LOCALEDIR); 65 bindtextdomain (PACKAGE, LOCALEDIR);
66 textdomain (PACKAGE); 66 textdomain (PACKAGE);
67
68// result = process_arguments (argc, argv);
69 67
70 if (process_arguments (argc, argv) != TRUE) 68 if (process_arguments (argc, argv) != TRUE)
71 usage (_("check_game: could not parse arguments\n")); 69 usage4 (_("Could not parse arguments"));
72
73/* if (result != OK) {
74 printf (_("Incorrect arguments supplied\n"));
75 printf ("\n");
76 print_revision (progname, revision);
77 printf ("Copyright (c) 1999 Ian Cass, Knowledge Matters Limited\n");
78 printf (_("License: GPL\n"));
79 printf ("\n");
80 return STATE_UNKNOWN;
81 }
82*/
83 70
84 result = STATE_OK; 71 result = STATE_OK;
85 72
@@ -312,6 +299,7 @@ print_help (void)
312{ 299{
313 print_revision (progname, revision); 300 print_revision (progname, revision);
314 301
302 printf ("Copyright (c) 1999 Ian Cass, Knowledge Matters Limited\n");
315 printf (_(COPYRIGHT), copyright, email); 303 printf (_(COPYRIGHT), copyright, email);
316 304
317 printf (_("This plugin tests %s connections with the specified host."), progname); 305 printf (_("This plugin tests %s connections with the specified host."), progname);