diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-05-08 17:41:14 -0400 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-05-08 17:41:14 -0400 |
commit | 4b42d5aff4c929ccb7bb7c752d2b25149cee79a5 (patch) | |
tree | 47d83e66abd9534dd1d29e995383fc147c001a90 | |
parent | a4bab0bb46243ea2b4fe49aee365a1704424cccc (diff) | |
download | monitoring-plugins-4b42d5aff4c929ccb7bb7c752d2b25149cee79a5.tar.gz |
Add missing --fqdn help (Jan Wagner)
-rw-r--r-- | plugins/check_smtp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index b7028e6c..3da724ba 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -782,6 +782,8 @@ print_help (void) | |||
782 | printf (" %s\n", _("Expected response to command (may be used repeatedly)")); | 782 | printf (" %s\n", _("Expected response to command (may be used repeatedly)")); |
783 | printf (" %s\n", "-f, --from=STRING"); | 783 | printf (" %s\n", "-f, --from=STRING"); |
784 | printf (" %s\n", _("FROM-address to include in MAIL command, required by Exchange 2000")), | 784 | printf (" %s\n", _("FROM-address to include in MAIL command, required by Exchange 2000")), |
785 | printf (" %s\n", "-F, --fqdn=STRING"); | ||
786 | printf (" %s\n", _("FQDN used for HELO")); | ||
785 | #ifdef HAVE_SSL | 787 | #ifdef HAVE_SSL |
786 | printf (" %s\n", "-D, --certificate=INTEGER"); | 788 | printf (" %s\n", "-D, --certificate=INTEGER"); |
787 | printf (" %s\n", _("Minimum number of days a certificate has to be valid.")); | 789 | printf (" %s\n", _("Minimum number of days a certificate has to be valid.")); |
@@ -817,8 +819,8 @@ void | |||
817 | print_usage (void) | 819 | print_usage (void) |
818 | { | 820 | { |
819 | printf ("%s\n", _("Usage:")); | 821 | printf ("%s\n", _("Usage:")); |
820 | printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname); | 822 | printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname); |
821 | printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n"); | 823 | printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n"); |
822 | printf ("[-S] [-D days] [-v] [-4|-6]\n"); | 824 | printf ("[-F fqdn] [-S] [-D days] [-v] [-4|-6]\n"); |
823 | } | 825 | } |
824 | 826 | ||