diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2011-08-13 03:44:27 +0200 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2011-08-13 03:44:27 +0200 |
commit | 9978b3ca744b076d8ea24441819826938211dd17 (patch) | |
tree | 956e7bea328f15f2de2c324cbd937c7ee6b9c799 | |
parent | 4d06603060fc1233861b164870f0d3a2e0d8d2eb (diff) | |
download | monitoring-plugins-9978b3ca744b076d8ea24441819826938211dd17.tar.gz |
Fix: check_ldap now correctly handles the long option --hostname for -H
The undocumented --host has been changed to --hostname which is actually
mentioned in --help. Thanks to lgarrett (#3191388)
-rw-r--r-- | plugins/check_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 726ffa64..f83f1397 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
@@ -247,7 +247,7 @@ process_arguments (int argc, char **argv) | |||
247 | {"help", no_argument, 0, 'h'}, | 247 | {"help", no_argument, 0, 'h'}, |
248 | {"version", no_argument, 0, 'V'}, | 248 | {"version", no_argument, 0, 'V'}, |
249 | {"timeout", required_argument, 0, 't'}, | 249 | {"timeout", required_argument, 0, 't'}, |
250 | {"host", required_argument, 0, 'H'}, | 250 | {"hostname", required_argument, 0, 'H'}, |
251 | {"base", required_argument, 0, 'b'}, | 251 | {"base", required_argument, 0, 'b'}, |
252 | {"attr", required_argument, 0, 'a'}, | 252 | {"attr", required_argument, 0, 'a'}, |
253 | {"bind", required_argument, 0, 'D'}, | 253 | {"bind", required_argument, 0, 'D'}, |