diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-17 12:28:43 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2006-06-17 12:28:43 +0000 |
commit | cbbfed30eb01a702b2e61c0abcb64c834e73d654 (patch) | |
tree | b9d050fa415733f80306530e1ed028ef3ce9759a /plugins/check_nt.c | |
parent | e5324624caefb201439012d795bebdf46966ec9c (diff) | |
download | monitoring-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.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c index 1bdddc45..2505a0bc 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c @@ -32,7 +32,7 @@ const char *progname = "check_nt"; const char *revision = "$Revision$"; -const char *copyright = "2003-2004"; +const char *copyright = "2003-2006"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" @@ -614,11 +614,15 @@ void print_help(void) printf ("Copyright (c) 2000 Yves Rubin (rubiyz@yahoo.com)\n"); printf (COPYRIGHT, copyright, email); - printf (_("This plugin collects data from the NSClient service running on a\n\ -Windows NT/2000/XP/2003 server.\n\n")); + printf ("%s\n", _("This plugin collects data from the NSClient service running on a")); + printf ("%s\n", _("Windows NT/2000/XP/2003 server.")); + printf ("\n\n"); + print_usage(); + printf (_(UT_HELP_VRSN)); + printf (_("\nOptions:\n\ -H, --hostname=HOST\n\ Name of the host to check\n\ @@ -689,7 +693,7 @@ Windows NT/2000/XP/2003 server.\n\n")); void print_usage(void) { - printf("\ -Usage: %s -H host -v variable [-p port] [-w warning] [-c critical]\n\ - [-l params] [-d SHOWALL] [-t timeout]\n", progname); + printf (_("Usage:")); + printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]",progname); + printf ("[-l params] [-d SHOWALL] [-t timeout]\n"); } |