aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_by_ssh.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_by_ssh.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_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index d9fe26e5..7080c695 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -308,7 +308,7 @@ process_arguments (int argc, char **argv)
asprintf (&remotecmd, "%s;echo STATUS CODE: $?;", remotecmd);
if (remotecmd == NULL || strlen (remotecmd) <= 1)
- usage (_("No remotecmd\n"));
+ usage4 (_("No remotecmd"));
asprintf (&comm, "%s %s '%s'", comm, hostname, remotecmd);
@@ -409,9 +409,10 @@ $ cat /tmp/foo\n\
void
print_usage (void)
{
- printf (_("\n\
+ printf ("\n\
Usage: %s [-f46] [-t timeout] [-i identity] [-l user] -H <host> \n\
- -C <command> [-n name] [-s servicelist] [-O outputfile] [-p port]\n"),
+ -C <command> [-n name] [-s servicelist] [-O outputfile] [-p port]\n",
progname);
+
printf (_(UT_HLP_VRS), progname, progname);
}