From 9978b3ca744b076d8ea24441819826938211dd17 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Sat, 13 Aug 2011 03:44:27 +0200 Subject: 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) --- plugins/check_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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'}, -- cgit v1.2.3