summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 11:45:10 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 11:45:10 (GMT)
commitfa002886e390f5cc603021e422be3c319a1040ea (patch)
tree63e7af0f720a031aa3f6cd0ca7125f37e50575d0 /plugins/check_disk.c
parent83df67099daebd7189ad0417089040f3b2de27c1 (diff)
downloadmonitoring-plugins-fa002886e390f5cc603021e422be3c319a1040ea.tar.gz
internationalization fixes and help fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@989 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index c7ea344..70cd548 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -322,7 +322,7 @@ process_arguments (int argc, char **argv)
322 break; 322 break;
323 } 323 }
324 else { 324 else {
325 usage (_("Warning threshold must be integer or percentage!\n")); 325 usage4 (_("Warning threshold must be integer or percentage!"));
326 } 326 }
327 case 'c': /* critical threshold */ 327 case 'c': /* critical threshold */
328 if (is_intnonneg (optarg)) { 328 if (is_intnonneg (optarg)) {
@@ -339,7 +339,7 @@ process_arguments (int argc, char **argv)
339 break; 339 break;
340 } 340 }
341 else { 341 else {
342 usage (_("Critical threshold must be integer or percentage!\n")); 342 usage4 (_("Critical threshold must be integer or percentage!"));
343 } 343 }
344 case 'u': 344 case 'u':
345 if (units) 345 if (units)
@@ -636,10 +636,9 @@ and generates an alert if free space is less than one of the threshold values.")
636void 636void
637print_usage (void) 637print_usage (void)
638{ 638{
639 printf (_("\ 639 printf ("\
640Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\ 640Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\
641 [-v] [-q]\n\ 641 [-v] [-q]\n", progname);
642 %s (-h|--help)\n\ 642
643 %s (-V|--version)\n"), 643 printf (UT_HLP_VRS, progname, progname);
644 progname, progname, progname);
645} 644}