[Nagiosplug-checkins] CVS: nagiosplug/plugins utils.h,1.3,1.4
Karl DeBisschop
kdebisschop at users.sourceforge.net
Tue Jul 29 04:58:07 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv19210
Modified Files:
utils.h
Log Message:
some shared text for internationalized help text
Index: utils.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/utils.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** utils.h 19 Mar 2003 13:01:05 -0000 1.3
--- utils.h 29 Jul 2003 11:57:36 -0000 1.4
***************
*** 90,91 ****
--- 90,122 ----
{"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"
More information about the Commits
mailing list