summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
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 80c0907a..9664c0fb 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}