summaryrefslogtreecommitdiffstats
path: root/plugins/check_nt.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-17 12:28:43 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-17 12:28:43 (GMT)
commitcbbfed30eb01a702b2e61c0abcb64c834e73d654 (patch)
treeb9d050fa415733f80306530e1ed028ef3ce9759a /plugins/check_nt.c
parente5324624caefb201439012d795bebdf46966ec9c (diff)
downloadmonitoring-plugins-cbbfed30eb01a702b2e61c0abcb64c834e73d654.tar.gz
cleaning up help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1433 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r--plugins/check_nt.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 1bdddc4..2505a0b 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -32,7 +32,7 @@
32 32
33const char *progname = "check_nt"; 33const char *progname = "check_nt";
34const char *revision = "$Revision$"; 34const char *revision = "$Revision$";
35const char *copyright = "2003-2004"; 35const char *copyright = "2003-2006";
36const char *email = "nagiosplug-devel@lists.sourceforge.net"; 36const char *email = "nagiosplug-devel@lists.sourceforge.net";
37 37
38#include "common.h" 38#include "common.h"
@@ -614,11 +614,15 @@ void print_help(void)
614 printf ("Copyright (c) 2000 Yves Rubin (rubiyz@yahoo.com)\n"); 614 printf ("Copyright (c) 2000 Yves Rubin (rubiyz@yahoo.com)\n");
615 printf (COPYRIGHT, copyright, email); 615 printf (COPYRIGHT, copyright, email);
616 616
617 printf (_("This plugin collects data from the NSClient service running on a\n\ 617 printf ("%s\n", _("This plugin collects data from the NSClient service running on a"));
618Windows NT/2000/XP/2003 server.\n\n")); 618 printf ("%s\n", _("Windows NT/2000/XP/2003 server."));
619 619
620 printf ("\n\n");
621
620 print_usage(); 622 print_usage();
621 623
624 printf (_(UT_HELP_VRSN));
625
622 printf (_("\nOptions:\n\ 626 printf (_("\nOptions:\n\
623-H, --hostname=HOST\n\ 627-H, --hostname=HOST\n\
624 Name of the host to check\n\ 628 Name of the host to check\n\
@@ -689,7 +693,7 @@ Windows NT/2000/XP/2003 server.\n\n"));
689 693
690void print_usage(void) 694void print_usage(void)
691{ 695{
692 printf("\ 696 printf (_("Usage:"));
693Usage: %s -H host -v variable [-p port] [-w warning] [-c critical]\n\ 697 printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]",progname);
694 [-l params] [-d SHOWALL] [-t timeout]\n", progname); 698 printf ("[-l params] [-d SHOWALL] [-t timeout]\n");
695} 699}