summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 +0000
commit5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch)
treec6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_ldap.c
parentc6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff)
downloadmonitoring-plugins-5e3fc41c6143676cf01b7aad789fc5f2cae5ce84.tar.gz
print_help and print_usage() cleanup
other misc cleanups git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r--plugins/check_ldap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 9664c0fb..dfdd8374 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -277,8 +277,6 @@ validate_arguments ()
277 277
278 278
279 279
280
281
282void 280void
283print_help (void) 281print_help (void)
284{ 282{
@@ -334,7 +332,8 @@ print_usage (void)
334{ 332{
335 printf ("\ 333 printf ("\
336Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\ 334Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\
337 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n", 335 [-P <password>] [-w <warn_time>] [-c <crit_time>]\n\
336 [-t timeout]%s\n",
338//(Note: all times are in seconds.)\n", 337//(Note: all times are in seconds.)\n",
339 progname, 338 progname,
340#ifdef HAVE_LDAP_SET_OPTION 339#ifdef HAVE_LDAP_SET_OPTION