summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_http.c4
-rw-r--r--plugins/check_ldap.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 203ebe5..b81f214 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1263,13 +1263,13 @@ print_help (void)
1263 1263
1264 printf (" %s\n", "-e, --expect=STRING"); 1264 printf (" %s\n", "-e, --expect=STRING");
1265 printf (" %s\n", _("String to expect in first (status) line of server response (default: ")); 1265 printf (" %s\n", _("String to expect in first (status) line of server response (default: "));
1266 printf ("%s\n", HTTP_EXPECT); 1266 printf ("%s)\n", HTTP_EXPECT);
1267 printf (" %s\n", _("If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)")); 1267 printf (" %s\n", _("If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)"));
1268 printf (" %s\n", "-s, --string=STRING"); 1268 printf (" %s\n", "-s, --string=STRING");
1269 printf (" %s\n", _("String to expect in the content")); 1269 printf (" %s\n", _("String to expect in the content"));
1270 printf (" %s\n", "-u, --url=PATH"); 1270 printf (" %s\n", "-u, --url=PATH");
1271 printf (" %s\n", _("URL to GET or POST (default: /)")); 1271 printf (" %s\n", _("URL to GET or POST (default: /)"));
1272 printf (" %s\n," "-P, --post=STRING"); 1272 printf (" %s\n", "-P, --post=STRING");
1273 printf (" %s\n", _("URL encoded http POST data")); 1273 printf (" %s\n", _("URL encoded http POST data"));
1274 printf (" %s\n", "-N, --no-body"); 1274 printf (" %s\n", "-N, --no-body");
1275 printf (" %s\n", _("Don't wait for document body: stop reading after headers.")); 1275 printf (" %s\n", _("Don't wait for document body: stop reading after headers."));
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index a742430..60872cf 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -378,9 +378,9 @@ print_help (void)
378 printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\"")); 378 printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\""));
379 printf (" %s\n", "-b [--base]"); 379 printf (" %s\n", "-b [--base]");
380 printf (" %s\n", _("ldap base (eg. ou=my unit, o=my org, c=at")); 380 printf (" %s\n", _("ldap base (eg. ou=my unit, o=my org, c=at"));
381 printf (" %s\n," "-D [--bind]"); 381 printf (" %s\n", "-D [--bind]");
382 printf (" %s\n", _("ldap bind DN (if required)")); 382 printf (" %s\n", _("ldap bind DN (if required)"));
383 printf (" %s\n," "-P [--pass]"); 383 printf (" %s\n", "-P [--pass]");
384 printf (" %s\n", _("ldap password (if required)")); 384 printf (" %s\n", _("ldap password (if required)"));
385 385
386#ifdef HAVE_LDAP_SET_OPTION 386#ifdef HAVE_LDAP_SET_OPTION
@@ -410,9 +410,9 @@ print_usage (void)
410{ 410{
411 printf (_("Usage:")); 411 printf (_("Usage:"));
412 printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname); 412 printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname);
413 printf ("[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]\n", 413 printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
414#ifdef HAVE_LDAP_SET_OPTION 414#ifdef HAVE_LDAP_SET_OPTION
415 " [-2|-3] [-4|-6]" 415 "\n [-2|-3] [-4|-6]"
416#else 416#else
417 "" 417 ""
418#endif 418#endif