diff options
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r-- | plugins/check_real.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c index 492848c..3042465 100644 --- a/plugins/check_real.c +++ b/plugins/check_real.c | |||
@@ -312,7 +312,7 @@ process_arguments (int argc, char **argv) | |||
312 | server_port = atoi (optarg); | 312 | server_port = atoi (optarg); |
313 | } | 313 | } |
314 | else { | 314 | else { |
315 | usage (_("Port must be a positive integer\n")); | 315 | usage4 (_("Port must be a positive integer")); |
316 | } | 316 | } |
317 | break; | 317 | break; |
318 | case 'w': /* warning time threshold */ | 318 | case 'w': /* warning time threshold */ |
@@ -321,7 +321,7 @@ process_arguments (int argc, char **argv) | |||
321 | check_warning_time = TRUE; | 321 | check_warning_time = TRUE; |
322 | } | 322 | } |
323 | else { | 323 | else { |
324 | usage (_("Warning time must be a positive integer\n")); | 324 | usage4 (_("Warning time must be a positive integer")); |
325 | } | 325 | } |
326 | break; | 326 | break; |
327 | case 'c': /* critical time threshold */ | 327 | case 'c': /* critical time threshold */ |
@@ -330,7 +330,7 @@ process_arguments (int argc, char **argv) | |||
330 | check_critical_time = TRUE; | 330 | check_critical_time = TRUE; |
331 | } | 331 | } |
332 | else { | 332 | else { |
333 | usage (_("Critical time must be a nonnegative integer\n")); | 333 | usage4 (_("Critical time must be a nonnegative integer")); |
334 | } | 334 | } |
335 | break; | 335 | break; |
336 | case 'v': /* verbose */ | 336 | case 'v': /* verbose */ |
@@ -341,7 +341,7 @@ process_arguments (int argc, char **argv) | |||
341 | socket_timeout = atoi (optarg); | 341 | socket_timeout = atoi (optarg); |
342 | } | 342 | } |
343 | else { | 343 | else { |
344 | usage (_("Time interval must be a nonnegative integer\n")); | 344 | usage4 (_("Time interval must be a nonnegative integer")); |
345 | } | 345 | } |
346 | break; | 346 | break; |
347 | case 'V': /* version */ | 347 | case 'V': /* version */ |