mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 08:42:17 -04:00
Fix bug #1632091: printf format string typos. Add some more cosmetic changes.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1570 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
79a607391a
commit
2c25c05828
2 changed files with 6 additions and 6 deletions
|
|
@ -1263,13 +1263,13 @@ print_help (void)
|
|||
|
||||
printf (" %s\n", "-e, --expect=STRING");
|
||||
printf (" %s\n", _("String to expect in first (status) line of server response (default: "));
|
||||
printf ("%s\n", HTTP_EXPECT);
|
||||
printf ("%s)\n", HTTP_EXPECT);
|
||||
printf (" %s\n", _("If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)"));
|
||||
printf (" %s\n", "-s, --string=STRING");
|
||||
printf (" %s\n", _("String to expect in the content"));
|
||||
printf (" %s\n", "-u, --url=PATH");
|
||||
printf (" %s\n", _("URL to GET or POST (default: /)"));
|
||||
printf (" %s\n," "-P, --post=STRING");
|
||||
printf (" %s\n", "-P, --post=STRING");
|
||||
printf (" %s\n", _("URL encoded http POST data"));
|
||||
printf (" %s\n", "-N, --no-body");
|
||||
printf (" %s\n", _("Don't wait for document body: stop reading after headers."));
|
||||
|
|
|
|||
|
|
@ -378,9 +378,9 @@ print_help (void)
|
|||
printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\""));
|
||||
printf (" %s\n", "-b [--base]");
|
||||
printf (" %s\n", _("ldap base (eg. ou=my unit, o=my org, c=at"));
|
||||
printf (" %s\n," "-D [--bind]");
|
||||
printf (" %s\n", "-D [--bind]");
|
||||
printf (" %s\n", _("ldap bind DN (if required)"));
|
||||
printf (" %s\n," "-P [--pass]");
|
||||
printf (" %s\n", "-P [--pass]");
|
||||
printf (" %s\n", _("ldap password (if required)"));
|
||||
|
||||
#ifdef HAVE_LDAP_SET_OPTION
|
||||
|
|
@ -410,9 +410,9 @@ print_usage (void)
|
|||
{
|
||||
printf (_("Usage:"));
|
||||
printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname);
|
||||
printf ("[-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]\n",
|
||||
printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
|
||||
#ifdef HAVE_LDAP_SET_OPTION
|
||||
" [-2|-3] [-4|-6]"
|
||||
"\n [-2|-3] [-4|-6]"
|
||||
#else
|
||||
""
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue