From 082cfc29e3673abf595d70cd05f0a483947c22d5 Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 19 Oct 2006 00:25:16 +0000 Subject: first pass at cleaning localization for new release first pass at making all the headre be the same licence, plugin, etc... git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1499 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_ldap.c | 52 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 19 deletions(-) (limited to 'plugins/check_ldap.c') diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 7f8b7fd9..c33746b9 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c @@ -1,18 +1,31 @@ /****************************************************************************** - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +* +* Nagios check_ldap plugin +* +* License: GPL +* Copyright (c) 1999-2006 nagios-plugins team +* +* Last Modified: $Date$ +* +* Description: +* +* This file contains the check_ldap plugin +* +* License Information: +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. $Id$ @@ -388,16 +401,17 @@ print_help (void) printf (_(UT_SUPPORT)); } +/* todo +* add option -4 and -6 to the long manual +* +*/ void print_usage (void) { printf (_("Usage:")); - printf ("\%s -H -b [-p ] [-a ] [-D ]\n\ - [-P ] [-w ] [-c ]\n\ - [-t timeout]%s\n", -//(Note: all times are in seconds.)\n", - progname, + printf (" %s -H -b [-p ] [-a ] [-D ]",progname); + printf ("[-P ] [-w ] [-c ] [-t timeout]\n", #ifdef HAVE_LDAP_SET_OPTION " [-2|-3] [-4|-6]" #else -- cgit v1.2.3-74-g34f1