summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index b1fc7ee..8ff10b8 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -137,6 +137,9 @@ main (int argc, char **argv)
137 bindtextdomain (PACKAGE, LOCALEDIR); 137 bindtextdomain (PACKAGE, LOCALEDIR);
138 textdomain (PACKAGE); 138 textdomain (PACKAGE);
139 139
140 /* Parse extra opts if any */
141 argv=np_extra_opts (&argc, argv, progname);
142
140 if (process_arguments (argc, argv) == ERROR) 143 if (process_arguments (argc, argv) == ERROR)
141 usage4 (_("Could not parse arguments")); 144 usage4 (_("Could not parse arguments"));
142 145
@@ -771,6 +774,7 @@ print_help (void)
771 print_usage (); 774 print_usage ();
772 775
773 printf (_(UT_HELP_VRSN)); 776 printf (_(UT_HELP_VRSN));
777 printf (_(UT_EXTRA_OPTS));
774 778
775 printf (_(UT_HOST_PORT), 'p', myport); 779 printf (_(UT_HOST_PORT), 'p', myport);
776 780
@@ -812,6 +816,12 @@ print_help (void)
812 printf ("%s\n", _("connects, but incorrect reponse messages from the host result in")); 816 printf ("%s\n", _("connects, but incorrect reponse messages from the host result in"));
813 printf ("%s\n", _("STATE_WARNING return values.")); 817 printf ("%s\n", _("STATE_WARNING return values."));
814 818
819#ifdef NP_EXTRA_OPTS
820 printf ("\n");
821 printf ("%s\n", _("Notes:"));
822 printf (_(UT_EXTRA_OPTS_NOTES));
823#endif
824
815 printf (_(UT_SUPPORT)); 825 printf (_(UT_SUPPORT));
816} 826}
817 827