diff options
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r-- | plugins/check_nt.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index 9e4ad67..45a2bb0 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c | |||
@@ -629,27 +629,27 @@ void print_help(void) | |||
629 | 629 | ||
630 | printf (_(UT_HELP_VRSN)); | 630 | printf (_(UT_HELP_VRSN)); |
631 | 631 | ||
632 | printf (_("\nOptions:\n\ | 632 | printf ("%s\n", _("Options:")); |
633 | -H, --hostname=HOST\n\ | 633 | printf (" %s\n", "-H, --hostname=HOST"); |
634 | Name of the host to check\n\ | 634 | printf (" %s\n", _("Name of the host to check")); |
635 | -p, --port=INTEGER\n\ | 635 | printf (" %s\n", "-p, --port=INTEGER"); |
636 | Optional port number (default: %d)\n\ | 636 | printf (" %s", _("Optional port number (default: ")); |
637 | -s <password>\n\ | 637 | printf ("%d)\n", PORT); |
638 | Password needed for the request\n\ | 638 | printf (" %s\n", "-s <password>"); |
639 | -w, --warning=INTEGER\n\ | 639 | printf (" %s\n", _("Password needed for the request")); |
640 | Threshold which will result in a warning status\n\ | 640 | printf (" %s\n", "-w, --warning=INTEGER"); |
641 | -c, --critical=INTEGER\n\ | 641 | printf (" %s\n", _("Threshold which will result in a warning status")); |
642 | Threshold which will result in a critical status\n\ | 642 | printf (" %s\n", "-c, --critical=INTEGER"); |
643 | -t, --timeout=INTEGER\n\ | 643 | printf (" %s\n", _("Threshold which will result in a critical status")); |
644 | Seconds before connection attempt times out (default: %d)\n\ | 644 | printf (" %s\n", "-t, --timeout=INTEGER"); |
645 | -h, --help\n\ | 645 | printf (" %s", _("Seconds before connection attempt times out (default: ")); |
646 | Print this help screen\n\ | 646 | printf ("%d)\n", DEFAULT_SOCKET_TIMEOUT); |
647 | -V, --version\n\ | 647 | printf (" %s\n", "-h, --help"); |
648 | Print version information\n"), PORT, DEFAULT_SOCKET_TIMEOUT); | 648 | printf (" %s\n", _("Print this help screen")); |
649 | 649 | printf (" %s\n", "-V, --version"); | |
650 | printf (_("\ | 650 | printf (" %s\n", _("Print version information")); |
651 | -v, --variable=STRING\n\ | 651 | printf (" %s\n", "-v, --variable=STRING"); |
652 | Variable to check. Valid variables are:\n")); | 652 | printf (" %s\n", _("Variable to check. Valid variables are:")); |
653 | printf (_("\ | 653 | printf (_("\ |
654 | CLIENTVERSION = Get the NSClient version\n\ | 654 | CLIENTVERSION = Get the NSClient version\n\ |
655 | If -l <version> is specified, will return warning if versions differ.\n")); | 655 | If -l <version> is specified, will return warning if versions differ.\n")); |