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_nwstat.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_nwstat.c')
-rw-r--r-- | plugins/check_nwstat.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c index 6465daef..7495cae9 100644 --- a/plugins/check_nwstat.c +++ b/plugins/check_nwstat.c @@ -20,7 +20,7 @@ const char *progname = "check_nwstat"; const char *revision = "$Revision$"; -const char *copyright = "2000-2004"; +const char *copyright = "2000-2006"; const char *email = "nagiosplug-devel@lists.sourceforge.net"; #include "common.h" @@ -1013,9 +1013,10 @@ void print_help(void) printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); printf (COPYRIGHT, copyright, email); - printf (_("\ -This plugin attempts to contact the MRTGEXT NLM running on a\n\ -Novell server to gather the requested system information.\n\n")); + printf ("%s\n", _("This plugin attempts to contact the MRTGEXT NLM running on a")); + printf ("%s\n", _("Novell server to gather the requested system information.")); + + printf ("\n\n"); print_usage(); @@ -1076,8 +1077,9 @@ Novell server to gather the requested system information.\n\n")); printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT); - printf (_("\n\ -Notes:\n\ + printf ("\n"); + printf ("%s\n", _("Notes:")); + printf (_("\ - This plugin requres that the MRTGEXT.NLM file from James Drews' MRTG\n\ extension for NetWare be loaded on the Novell servers you wish to check.\n\ (available from http://www.engr.wisc.edu/~drews/mrtg/)\n\ @@ -1092,7 +1094,6 @@ Notes:\n\ void print_usage(void) { - printf ("\ -Usage: %s -H host [-p port] [-v variable] [-w warning] [-c critical]\n\ - [-t timeout].\n", progname); + printf (_("Usage:")); + printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n",progname); } |