From 99653f1e6926d4896eb4fe477e19096dd848699a Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Tue, 29 Jul 2003 11:57:36 +0000 Subject: some shared text for internationalized help text git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@618 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/utils.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'plugins') diff --git a/plugins/utils.h b/plugins/utils.h index b345f7a2..292c3dff 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -89,3 +89,34 @@ char *state_text (int result); {"warning",required_argument,0,'w'},\ {"hostname",required_argument,0,'H'} +#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\ +\t<%s>\n\n" + +#define HELP_VRSN "\ +\nOptions:\n\ + -h, --help\n\ + Print detailed help screen\n\ + -V, --version\n\ + Print version information\n" + +#define HOST_PORT_46 "\ + -H, --hostname=ADDRESS\n\ + Host name or IP Address%s\n\ + -%c, --port=INTEGER\n\ + Port number (default: %s)\n\ + -4, --use-ipv4\n\ + Use IPv4 connection\n\ + -6, --use-ipv6\n\ + Use IPv6 connection\n" + +#define VRBS "\ + -v, --verbose\n\ + Show details for command-line debugging (Nagios may truncate output)\n" + +#define WARN_CRIT_TO "\ + -w, --warning=DOUBLE\n\ + Response time to result in warning status (seconds)\n\ + -c, --critical=DOUBLE\n\ + Response time to result in critical status (seconds)\n\ + -t, --timeout=INTEGER\n\ + Seconds before connection times out (default: %s)\n" -- cgit v1.2.3-74-g34f1