diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 20:28:53 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 20:28:53 +0000 |
commit | edf60f6dceba48555f2534d9a217a8c5913ce029 (patch) | |
tree | e49b58832bc1d9252c3a8eeeadd65b4a85efc140 /plugins/check_ldap.c | |
parent | 5d420d68fa25dd1b48d1b3f1a067fb45d98e67c2 (diff) | |
download | monitoring-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.c | 7 |
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 | |||
333 | void | 332 | void |
334 | print_usage (void) | 333 | print_usage (void) |
335 | { | 334 | { |
336 | printf ("\ | 335 | printf ("\ |
337 | Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\ | 336 | Usage: %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 | } |