summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ecb33e7)
raw | patch | inline | side by side (parent: ecb33e7)
author | Matthias Eble <psychotrahe@gmx.de> | |
Fri, 22 May 2009 18:17:50 +0000 (20:17 +0200) | ||
committer | Matthias Eble <psychotrahe@gmx.de> | |
Fri, 22 May 2009 18:17:50 +0000 (20:17 +0200) |
Check_smtp's help showed the -n/--nocommand options to not send an
SMTP command. This usage is covered by check_tcp and is thus not needed
in check_smtp.
SMTP command. This usage is covered by check_tcp and is thus not needed
in check_smtp.
plugins/check_smtp.c | patch | blob | history |
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 6040aa121236a2f595a6b749ab8611d296940d6c..62f102549880fa1c35e76912055335d878e7822b 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
* According to rfc821 you can include a null reversepath in the from command
* - but a log message is generated on the smtp server.
*
- * You can disable sending mail_command with '--nocommand'
* Use the -f option to provide a FROM address
*/
if (smtp_use_dummycmd) {
{"authpass", required_argument, 0, 'P'},
{"command", required_argument, 0, 'C'},
{"response", required_argument, 0, 'R'},
- {"nocommand", required_argument, 0, 'n'},
{"verbose", no_argument, 0, 'v'},
{"version", no_argument, 0, 'V'},
{"use-ipv4", no_argument, 0, '4'},
printf (" %s\n", "-e, --expect=STRING");
printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT);
- printf (" %s\n", "-n, nocommand");
- printf (" %s\n", _("Suppress SMTP command"));
printf (" %s\n", "-C, --command=STRING");
printf (" %s\n", _("SMTP command (may be used repeatedly)"));
printf (" %s\n", "-R, --command=STRING");
printf (_("Usage:"));
printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname);
printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n");
- printf ("[-S] [-D days] [-n] [-v] [-4|-6]\n");
+ printf ("[-S] [-D days] [-v] [-4|-6]\n");
}