summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_smtp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 6040aa12..62f10254 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -289,7 +289,6 @@ main (int argc, char **argv)
289 * According to rfc821 you can include a null reversepath in the from command 289 * According to rfc821 you can include a null reversepath in the from command
290 * - but a log message is generated on the smtp server. 290 * - but a log message is generated on the smtp server.
291 * 291 *
292 * You can disable sending mail_command with '--nocommand'
293 * Use the -f option to provide a FROM address 292 * Use the -f option to provide a FROM address
294 */ 293 */
295 if (smtp_use_dummycmd) { 294 if (smtp_use_dummycmd) {
@@ -470,7 +469,6 @@ process_arguments (int argc, char **argv)
470 {"authpass", required_argument, 0, 'P'}, 469 {"authpass", required_argument, 0, 'P'},
471 {"command", required_argument, 0, 'C'}, 470 {"command", required_argument, 0, 'C'},
472 {"response", required_argument, 0, 'R'}, 471 {"response", required_argument, 0, 'R'},
473 {"nocommand", required_argument, 0, 'n'},
474 {"verbose", no_argument, 0, 'v'}, 472 {"verbose", no_argument, 0, 'v'},
475 {"version", no_argument, 0, 'V'}, 473 {"version", no_argument, 0, 'V'},
476 {"use-ipv4", no_argument, 0, '4'}, 474 {"use-ipv4", no_argument, 0, '4'},
@@ -778,8 +776,6 @@ print_help (void)
778 776
779 printf (" %s\n", "-e, --expect=STRING"); 777 printf (" %s\n", "-e, --expect=STRING");
780 printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT); 778 printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT);
781 printf (" %s\n", "-n, nocommand");
782 printf (" %s\n", _("Suppress SMTP command"));
783 printf (" %s\n", "-C, --command=STRING"); 779 printf (" %s\n", "-C, --command=STRING");
784 printf (" %s\n", _("SMTP command (may be used repeatedly)")); 780 printf (" %s\n", _("SMTP command (may be used repeatedly)"));
785 printf (" %s\n", "-R, --command=STRING"); 781 printf (" %s\n", "-R, --command=STRING");
@@ -829,6 +825,6 @@ print_usage (void)
829 printf (_("Usage:")); 825 printf (_("Usage:"));
830 printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname); 826 printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname);
831 printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n"); 827 printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n");
832 printf ("[-S] [-D days] [-n] [-v] [-4|-6]\n"); 828 printf ("[-S] [-D days] [-v] [-4|-6]\n");
833} 829}
834 830