Code

Fix for regex input of '|', being output causing problems with Nagios' parsing of
[nagiosplug.git] / plugins / check_ntp_peer.c
index fa18cfb920eb72f8e11dd124c362647769dc5b0a..62ac9aedcca12437aa9da9207391a14413aecdc3 100644 (file)
@@ -693,10 +693,6 @@ void print_help(void){
        printf(" %s\n", _("server; please use check_ntp_time for that purpose."));
        printf("\n");
        printf(UT_THRESHOLDS_NOTES);
-#ifdef NP_EXTRA_OPTS
-       printf("\n");
-       printf(UT_EXTRA_OPTS_NOTES);
-#endif
 
        printf("\n");
        printf("%s\n", _("Examples:"));
@@ -719,7 +715,7 @@ void print_help(void){
 void
 print_usage(void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname);
        printf("       [-j <warn>] [-k <crit>] [-v verbose]\n");
 }