summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 20:28:53 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 20:28:53 (GMT)
commitedf60f6dceba48555f2534d9a217a8c5913ce029 (patch)
treee49b58832bc1d9252c3a8eeeadd65b4a85efc140 /plugins/check_ldap.c
parent5d420d68fa25dd1b48d1b3f1a067fb45d98e67c2 (diff)
downloadmonitoring-plugins-edf60f6dceba48555f2534d9a217a8c5913ce029.tar.gz
remove UT_HLP_VRS from print_usage
this was not a good idea ;-) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@994 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r--plugins/check_ldap.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 80c0907..9664c0f 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -329,14 +329,13 @@ print_help (void)
329 329
330 330
331 331
332
333void 332void
334print_usage (void) 333print_usage (void)
335{ 334{
336 printf ("\ 335 printf ("\
337Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\ 336Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\
338 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n\ 337 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
339(Note: all times are in seconds.)\n", 338//(Note: all times are in seconds.)\n",
340 progname, 339 progname,
341#ifdef HAVE_LDAP_SET_OPTION 340#ifdef HAVE_LDAP_SET_OPTION
342 " [-2|-3] [-4|-6]" 341 " [-2|-3] [-4|-6]"
@@ -344,6 +343,4 @@ Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\
344 "" 343 ""
345#endif 344#endif
346 ); 345 );
347
348 printf (UT_HLP_VRS, progname, progname);
349} 346}