aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-01 19:33:45 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-01 19:33:45 +0000
commit54c21eba62b55503dbe6fda607ccbef4a27a1f14 (patch)
treefd28942d1170f607e5e9979e0b0cdcef5240c88f /plugins/check_by_ssh.c
parent5dc0b02ccc2b549d5ee7c8c7249723af9bd1cb74 (diff)
downloadmonitoring-plugins-54c21eba62b55503dbe6fda607ccbef4a27a1f14.tar.gz
first pass at standardization of messages for the localization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@962 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 9500cb3d..6daa1a11 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -167,11 +167,6 @@ main (int argc, char **argv)
return result;
}
-
-
-
-
-
/* process command-line arguments */
int
process_arguments (int argc, char **argv)
@@ -238,12 +233,12 @@ process_arguments (int argc, char **argv)
break;
case 'H': /* host */
if (!is_host (optarg))
- usage2 (_("Invalid host name"), optarg);
+ usage2 (_("Invalid hostname/adress"), optarg);
hostname = optarg;
break;
case 'p': /* port number */
if (!is_integer (optarg))
- usage2 (_("port must be an integer"), optarg);
+ usage2 (_("port must be a positive integer"), optarg);
asprintf (&comm,"%s -p %s", comm, optarg);
break;
case 'O': /* output file */
@@ -340,10 +335,6 @@ validate_arguments (void)
}
-
-
-
-
void
print_help (void)
{