aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r--plugins/check_ldap.c2
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)
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
{"timeout", required_argument, 0, 't'},
- {"host", required_argument, 0, 'H'},
+ {"hostname", required_argument, 0, 'H'},
{"base", required_argument, 0, 'b'},
{"attr", required_argument, 0, 'a'},
{"bind", required_argument, 0, 'D'},