From fa002886e390f5cc603021e422be3c319a1040ea Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Fri, 3 Dec 2004 11:45:10 +0000 Subject: internationalization fixes and help fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@989 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_disk.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'plugins/check_disk.c') 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); } -- cgit v1.2.3