diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 11:45:10 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 11:45:10 +0000 |
commit | fa002886e390f5cc603021e422be3c319a1040ea (patch) | |
tree | 63e7af0f720a031aa3f6cd0ca7125f37e50575d0 /plugins/check_dummy.c | |
parent | 83df67099daebd7189ad0417089040f3b2de27c1 (diff) | |
download | monitoring-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_dummy.c')
-rw-r--r-- | plugins/check_dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index 6864d02d..c621b9f1 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c @@ -41,7 +41,7 @@ main (int argc, char **argv) textdomain (PACKAGE); if (argc < 2) - usage (_("Incorrect number of arguments supplied\n")); + usage4 (_("Incorrect number of arguments supplied")); else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { print_revision (progname, revision); exit (STATE_OK); @@ -51,7 +51,7 @@ main (int argc, char **argv) exit (STATE_OK); } else if (!is_integer (argv[1])) - usage (_("Arguments to check_dummy must be an integer\n")); + usage4 (_("Arguments to check_dummy must be an integer")); else result = atoi (argv[1]); @@ -107,5 +107,5 @@ of the <state> argument with optional text.\n")); void print_usage (void) { - printf (_("Usage: %s <integer state> [optional text]\n"), progname); + printf ("Usage: %s <integer state> [optional text]\n", progname); } |