Code

Fix --help output when MAX_OIDS is altered.
[nagiosplug.git] / plugins / check_tcp.c
index 156765edac0d2234447a88235b7f3fd4c9cb7ad9..178bd5688dec52abeeb72667b595ba7c65709ab5 100644 (file)
@@ -641,12 +641,6 @@ print_help (void)
 
        printf (UT_VERBOSE);
 
-#ifdef NP_EXTRA_OPTS
-       printf ("\n");
-       printf ("%s\n", _("Notes:"));
-       printf (UT_EXTRA_OPTS_NOTES);
-#endif
-
        printf (UT_SUPPORT);
 }
 
@@ -654,7 +648,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
   printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname);
   printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n");
   printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n");