Code

tools/distclean: use git-clean when possible
[nagiosplug.git] / plugins / check_mysql_query.c
index 40adf09279fca709006a1ddd9da9548e27a01df8..cf9d8dfb2db227cd96e5f1eb50c2d86d7f87d8ef 100644 (file)
@@ -310,14 +310,10 @@ print_help (void)
        printf (" %s\n", _("A query is required. The result from the query should be numeric."));
        printf (" %s\n", _("For extra security, create a user with minimal access."));
 
-#ifdef NP_EXTRA_OPTS
        printf ("\n");
        printf ("%s\n", _("Notes:"));
-       printf (UT_EXTRA_OPTS_NOTES);
-       printf ("\n");
        printf (" %s\n", _("You must specify -p with an empty string to force an empty password,"));
        printf (" %s\n", _("overriding any my.cnf settings."));
-#endif
 
        printf (UT_SUPPORT);
 }
@@ -326,7 +322,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
   printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname);
   printf ("       [-d database] [-u user] [-p password]\n");
 }