diff options
Diffstat (limited to 'plugins/negate.c')
-rw-r--r-- | plugins/negate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/negate.c b/plugins/negate.c index 226f286..7bfef95 100644 --- a/plugins/negate.c +++ b/plugins/negate.c | |||
@@ -206,7 +206,7 @@ process_arguments (int argc, char **argv) | |||
206 | break; | 206 | break; |
207 | case 'o': /* replacement for OK */ | 207 | case 'o': /* replacement for OK */ |
208 | if ((state[STATE_OK] = translate_state(optarg)) == ERROR) | 208 | if ((state[STATE_OK] = translate_state(optarg)) == ERROR) |
209 | usage4 (_("Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-4).")); | 209 | usage4 (_("Ok must be a valid state name (OK, WARNING, CRITICAL, UNKNOWN) or integer (0-3).")); |
210 | permute = FALSE; | 210 | permute = FALSE; |
211 | break; | 211 | break; |
212 | 212 | ||
@@ -305,7 +305,7 @@ print_help (void) | |||
305 | printf (_(UT_HELP_VRSN)); | 305 | printf (_(UT_HELP_VRSN)); |
306 | 306 | ||
307 | printf (_(UT_TIMEOUT), DEFAULT_TIMEOUT); | 307 | printf (_(UT_TIMEOUT), DEFAULT_TIMEOUT); |
308 | printf (" %s\n", _("Keep timeout lower than the plugin timeout to retain CRITICAL status.")); | 308 | printf (" %s\n", _("Keep timeout longer than the plugin timeout to retain CRITICAL status.")); |
309 | 309 | ||
310 | printf(" -o,--ok=STATUS\n"); | 310 | printf(" -o,--ok=STATUS\n"); |
311 | printf(" -w,--warning=STATUS\n"); | 311 | printf(" -w,--warning=STATUS\n"); |
@@ -325,8 +325,8 @@ print_help (void) | |||
325 | printf ("%s\n", _("Notes:")); | 325 | printf ("%s\n", _("Notes:")); |
326 | printf ("%s\n", _("This plugin is a wrapper to take the output of another plugin and invert it.")); | 326 | printf ("%s\n", _("This plugin is a wrapper to take the output of another plugin and invert it.")); |
327 | printf ("%s\n", _("The full path of the plugin must be provided.")); | 327 | printf ("%s\n", _("The full path of the plugin must be provided.")); |
328 | printf ("%s\n", _("If the wrapped plugin returns STATE_OK, the wrapper will return STATE_CRITICAL.")); | 328 | printf ("%s\n", _("If the wrapped plugin returns OK, the wrapper will return CRITICAL.")); |
329 | printf ("%s\n", _("If the wrapped plugin returns STATE_CRITICAL, the wrapper will return STATE_OK.")); | 329 | printf ("%s\n", _("If the wrapped plugin returns CRITICAL, the wrapper will return OK.")); |
330 | printf ("%s\n", _("Otherwise, the output state of the wrapped plugin is unchanged.")); | 330 | printf ("%s\n", _("Otherwise, the output state of the wrapped plugin is unchanged.")); |
331 | 331 | ||
332 | printf (_(UT_SUPPORT)); | 332 | printf (_(UT_SUPPORT)); |