Code

Add newline after "Usage:" in --help
[nagiosplug.git] / plugins / check_nt.c
index d038efe72dd51beeed116be8db8e2027db62aefc..32d4ff6c99f87a2b8d70150e8062c5c34b87b789 100644 (file)
@@ -655,8 +655,8 @@ void print_help(void)
 
        print_usage();
 
-       printf (_(UT_HELP_VRSN));
-       printf (_(UT_EXTRA_OPTS));
+       printf (UT_HELP_VRSN);
+       printf (UT_EXTRA_OPTS);
 
        printf ("%s\n", _("Options:"));
        printf (" %s\n", "-H, --hostname=HOST");
@@ -748,18 +748,15 @@ void print_help(void)
        printf ("   %s\n", _("output when this happens contains \"Cannot map xxxxx to protocol number\"."));
        printf ("   %s\n", _("One fix for this is to change the port to something else on check_nt "));
        printf ("   %s\n", _("and on the client service it\'s connecting to."));
-#ifdef NP_EXTRA_OPTS
-       printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
-#endif
 
-       printf (_(UT_SUPPORT));
+       printf (UT_SUPPORT);
 }
 
 
 
 void print_usage(void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]\n",progname);
        printf ("[-l params] [-d SHOWALL] [-u] [-t timeout]\n");
 }