summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-02 16:42:57 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-08-02 16:42:57 (GMT)
commitb07cec408f61acd3c34ad1c03b212bba9b66c454 (patch)
tree4a906eebd467e2d71687e57205d07368f2adcc1b /plugins/utils.h
parentf4e6b2a946c087c096e38415210219fe1c870822 (diff)
downloadmonitoring-plugins-b07cec408f61acd3c34ad1c03b212bba9b66c454.tar.gz
establish "UT_" namespace for usage text in #defines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@631 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/utils.h b/plugins/utils.h
index d95422a..b10f0e5 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -92,37 +92,35 @@ char *state_text (int result);
92#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\ 92#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\
93\t<%s>\n\n" 93\t<%s>\n\n"
94 94
95#define HELP_VRSN "\ 95#define UT_HELP_VRSN "\
96\nOptions:\n\ 96\nOptions:\n\
97 -h, --help\n\ 97 -h, --help\n\
98 Print detailed help screen\n\ 98 Print detailed help screen\n\
99 -V, --version\n\ 99 -V, --version\n\
100 Print version information\n" 100 Print version information\n"
101 101
102#define HOST_PORT "\ 102#define UT_HOST_PORT "\
103 -H, --hostname=ADDRESS\n\ 103 -H, --hostname=ADDRESS\n\
104 Host name or IP Address\n\ 104 Host name or IP Address\n\
105 -%c, --port=INTEGER\n\ 105 -%c, --port=INTEGER\n\
106 Port number (default: %s)\n" 106 Port number (default: %s)\n"
107 107
108#define IPv46 "\ 108#define UT_IPv46 "\
109 -4, --use-ipv4\n\ 109 -4, --use-ipv4\n\
110 Use IPv4 connection\n\ 110 Use IPv4 connection\n\
111 -6, --use-ipv6\n\ 111 -6, --use-ipv6\n\
112 Use IPv6 connection\n" 112 Use IPv6 connection\n"
113 113
114#define VRBS "\ 114#define UT_VERBOSE "\
115 -v, --verbose\n\ 115 -v, --verbose\n\
116 Show details for command-line debugging (Nagios may truncate output)\n" 116 Show details for command-line debugging (Nagios may truncate output)\n"
117 117
118#define WARN_CRIT_TO "\ 118#define UT_WARN_CRIT "\
119 -w, --warning=DOUBLE\n\ 119 -w, --warning=DOUBLE\n\
120 Response time to result in warning status (seconds)\n\ 120 Response time to result in warning status (seconds)\n\
121 -c, --critical=DOUBLE\n\ 121 -c, --critical=DOUBLE\n\
122 Response time to result in critical status (seconds)\n\ 122 Response time to result in critical status (seconds)\n"
123 -t, --timeout=INTEGER\n\
124 Seconds before connection times out (default: %d)\n"
125 123
126#define TIMEOUT "\ 124#define UT_TIMEOUT "\
127 -t, --timeout=INTEGER\n\ 125 -t, --timeout=INTEGER\n\
128 Seconds before connection times out (default: %d)\n" 126 Seconds before connection times out (default: %d)\n"