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) | |||
41 | textdomain (PACKAGE); | 41 | textdomain (PACKAGE); |
42 | 42 | ||
43 | if (argc < 2) | 43 | if (argc < 2) |
44 | usage (_("Incorrect number of arguments supplied\n")); | 44 | usage4 (_("Incorrect number of arguments supplied")); |
45 | else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { | 45 | else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { |
46 | print_revision (progname, revision); | 46 | print_revision (progname, revision); |
47 | exit (STATE_OK); | 47 | exit (STATE_OK); |
@@ -51,7 +51,7 @@ main (int argc, char **argv) | |||
51 | exit (STATE_OK); | 51 | exit (STATE_OK); |
52 | } | 52 | } |
53 | else if (!is_integer (argv[1])) | 53 | else if (!is_integer (argv[1])) |
54 | usage (_("Arguments to check_dummy must be an integer\n")); | 54 | usage4 (_("Arguments to check_dummy must be an integer")); |
55 | else | 55 | else |
56 | result = atoi (argv[1]); | 56 | result = atoi (argv[1]); |
57 | 57 | ||
@@ -107,5 +107,5 @@ of the <state> argument with optional text.\n")); | |||
107 | void | 107 | void |
108 | print_usage (void) | 108 | print_usage (void) |
109 | { | 109 | { |
110 | printf (_("Usage: %s <integer state> [optional text]\n"), progname); | 110 | printf ("Usage: %s <integer state> [optional text]\n", progname); |
111 | } | 111 | } |