Code

Add newline after "Usage:" in --help
[nagiosplug.git] / plugins / check_snmp.c
index 6a44bc8c3eedd6ac0e664fd2d50073a6b7b6610c..2bc6024f42bab4ca06475ab69473f3d1fc64e729 100644 (file)
@@ -944,9 +944,6 @@ print_help (void)
        printf (" %s\n", _("- Note that only one string and one regex may be checked at present"));
        printf (" %s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value"));
        printf ("   %s\n", _("returned from the SNMP query is an unsigned integer."));
-#ifdef NP_EXTRA_OPTS
-       printf (" -%s", UT_EXTRA_OPTS_NOTES);
-#endif
 
        printf (UT_SUPPORT);
 }
@@ -956,7 +953,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
        printf ("%s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]\n",progname);
        printf ("[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]\n");
        printf ("[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]\n");