aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-03 11:45:10 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-03 11:45:10 +0000
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 c7ea3441..70cd5480 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -322,7 +322,7 @@ process_arguments (int argc, char **argv)
break;
}
else {
- usage (_("Warning threshold must be integer or percentage!\n"));
+ usage4 (_("Warning threshold must be integer or percentage!"));
}
case 'c': /* critical threshold */
if (is_intnonneg (optarg)) {
@@ -339,7 +339,7 @@ process_arguments (int argc, char **argv)
break;
}
else {
- usage (_("Critical threshold must be integer or percentage!\n"));
+ usage4 (_("Critical threshold must be integer or percentage!"));
}
case 'u':
if (units)
@@ -636,10 +636,9 @@ and generates an alert if free space is less than one of the threshold values.")
void
print_usage (void)
{
- printf (_("\
+ printf ("\
Usage: %s -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e]\n\
- [-v] [-q]\n\
- %s (-h|--help)\n\
- %s (-V|--version)\n"),
- progname, progname, progname);
+ [-v] [-q]\n", progname);
+
+ printf (UT_HLP_VRS, progname, progname);
}