summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-06-29 14:25:40 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-06-29 14:25:40 +0200
commit973d147cef8e2362d74ea75fa9379ea4a8ba6989 (patch)
treebe9f49100a16ff33b986d2364177d7ec3e012ca6
parent86b72def6b0b2361d10bb48500a6064da3d969e1 (diff)
downloadmonitoring-plugins-973d147cef8e2362d74ea75fa9379ea4a8ba6989.tar.gz
check_smtp: Fix help and usage output regarding -R
-rw-r--r--plugins/check_smtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 2a60cf07..58367a36 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -809,7 +809,7 @@ print_help (void)
809 printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT); 809 printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT);
810 printf (" %s\n", "-C, --command=STRING"); 810 printf (" %s\n", "-C, --command=STRING");
811 printf (" %s\n", _("SMTP command (may be used repeatedly)")); 811 printf (" %s\n", _("SMTP command (may be used repeatedly)"));
812 printf (" %s\n", "-R, --command=STRING"); 812 printf (" %s\n", "-R, --response=STRING");
813 printf (" %s\n", _("Expected response to command (may be used repeatedly)")); 813 printf (" %s\n", _("Expected response to command (may be used repeatedly)"));
814 printf (" %s\n", "-f, --from=STRING"); 814 printf (" %s\n", "-f, --from=STRING");
815 printf (" %s\n", _("FROM-address to include in MAIL command, required by Exchange 2000")), 815 printf (" %s\n", _("FROM-address to include in MAIL command, required by Exchange 2000")),
@@ -852,7 +852,7 @@ void
852print_usage (void) 852print_usage (void)
853{ 853{
854 printf ("%s\n", _("Usage:")); 854 printf ("%s\n", _("Usage:"));
855 printf ("%s -H host [-p port] [-4|-6] [-e expect] [-C command] [-f from addr]", progname); 855 printf ("%s -H host [-p port] [-4|-6] [-e expect] [-C command] [-R response] [-f from addr]\n", progname);
856 printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-q]\n"); 856 printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-q]\n");
857 printf ("[-F fqdn] [-S] [-D warn days cert expire[,crit days cert expire]] [-v] \n"); 857 printf ("[-F fqdn] [-S] [-D warn days cert expire[,crit days cert expire]] [-v] \n");
858} 858}