From 234481163fc3caf0cb8b14f601f0f9f1458f97f5 Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 2 Dec 2004 16:51:25 +0000 Subject: 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 --- plugins/check_game.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'plugins/check_game.c') diff --git a/plugins/check_game.c b/plugins/check_game.c index c8492d8f..89c212e8 100644 --- a/plugins/check_game.c +++ b/plugins/check_game.c @@ -64,22 +64,9 @@ main (int argc, char **argv) setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - -// result = process_arguments (argc, argv); if (process_arguments (argc, argv) != TRUE) - usage (_("check_game: could not parse arguments\n")); - -/* if (result != OK) { - printf (_("Incorrect arguments supplied\n")); - printf ("\n"); - print_revision (progname, revision); - printf ("Copyright (c) 1999 Ian Cass, Knowledge Matters Limited\n"); - printf (_("License: GPL\n")); - printf ("\n"); - return STATE_UNKNOWN; - } -*/ + usage4 (_("Could not parse arguments")); result = STATE_OK; @@ -312,6 +299,7 @@ print_help (void) { print_revision (progname, revision); + printf ("Copyright (c) 1999 Ian Cass, Knowledge Matters Limited\n"); printf (_(COPYRIGHT), copyright, email); printf (_("This plugin tests %s connections with the specified host."), progname); -- cgit v1.2.3-74-g34f1