[nagiosplug] check_smtp: Fix help and usage output regarding -R
"Nagios Plugin Development" <[email protected]> Fri, 29 Jun 2012 12:30:14 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug Branch: master Commit: 973d147cef8e2362d74ea75fa9379ea4a8ba6989 Author: Holger Weiss <[email protected]> Date: Fri Jun 29 14:25:40 2012 +0200 URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=973d147 check_smtp: Fix help and usage output regarding -R --- plugins/check_smtp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 2a60cf0..58367a3 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -809,7 +809,7 @@ print_help (void) printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT); printf (" %s\n", "-C, --command=STRING"); printf (" %s\n", _("SMTP command (may be used repeatedly)")); - printf (" %s\n", "-R, --command=STRING"); + printf (" %s\n", "-R, --response=STRING"); printf (" %s\n", _("Expected response to command (may be used repeatedly)")); printf (" %s\n", "-f, --from=STRING"); printf (" %s\n", _("FROM-address to include in MAIL command, required by Exchange 2000")), @@ -852,7 +852,7 @@ void print_usage (void) { printf ("%s\n", _("Usage:")); - printf ("%s -H host [-p port] [-4|-6] [-e expect] [-C command] [-f from addr]", progname); + printf ("%s -H host [-p port] [-4|-6] [-e expect] [-C command] [-R response] [-f from addr]\n", progname); printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-q]\n"); printf ("[-F fqdn] [-S] [-D warn days cert expire[,crit days cert expire]] [-v] \n"); } ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/