Code

Fix minor test issues
[nagiosplug.git] / plugins / check_cluster.c
index f2322271e4b00ec4b888cfdc1c4c6f186d148ea9..d4e39e0f37db71a84d392743de179c4e697eef90 100644 (file)
@@ -256,15 +256,12 @@ print_help(void)
        printf("\n");
        printf("%s\n", _("Notes:"));
        printf(UT_THRESHOLDS_NOTES);
-#ifdef NP_EXTRA_OPTS
-       printf ("\n");
-       printf (UT_EXTRA_OPTS_NOTES);
-#endif
 
        printf ("\n");
        printf ("%s\n", _("Examples:"));
        printf (" %s\n", "check_cluster -s -d 2,0,2,0 -c @3:");
-       printf ("    %s\n", _("Will alert critical if there are 3 or more service data points in a non-OK state") );
+       printf ("    %s\n", _("Will alert critical if there are 3 or more service data points in a non-OK") );
+       printf ("    %s\n", _("state.") );
 
        printf(UT_SUPPORT);
 }
@@ -274,7 +271,7 @@ void
 print_usage(void)
 {
 
-       printf(_("Usage:"));
+       printf("%s\n", _("Usage:"));
        printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname);
        printf("[-w threshold] [-c threshold] [-v] [--help]\n");