diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 11:45:10 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-03 11:45:10 (GMT) |
commit | fa002886e390f5cc603021e422be3c319a1040ea (patch) | |
tree | 63e7af0f720a031aa3f6cd0ca7125f37e50575d0 /plugins/check_by_ssh.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_by_ssh.c')
-rw-r--r-- | plugins/check_by_ssh.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index d9fe26e..7080c69 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -308,7 +308,7 @@ process_arguments (int argc, char **argv) | |||
308 | asprintf (&remotecmd, "%s;echo STATUS CODE: $?;", remotecmd); | 308 | asprintf (&remotecmd, "%s;echo STATUS CODE: $?;", remotecmd); |
309 | 309 | ||
310 | if (remotecmd == NULL || strlen (remotecmd) <= 1) | 310 | if (remotecmd == NULL || strlen (remotecmd) <= 1) |
311 | usage (_("No remotecmd\n")); | 311 | usage4 (_("No remotecmd")); |
312 | 312 | ||
313 | asprintf (&comm, "%s %s '%s'", comm, hostname, remotecmd); | 313 | asprintf (&comm, "%s %s '%s'", comm, hostname, remotecmd); |
314 | 314 | ||
@@ -409,9 +409,10 @@ $ cat /tmp/foo\n\ | |||
409 | void | 409 | void |
410 | print_usage (void) | 410 | print_usage (void) |
411 | { | 411 | { |
412 | printf (_("\n\ | 412 | printf ("\n\ |
413 | Usage: %s [-f46] [-t timeout] [-i identity] [-l user] -H <host> \n\ | 413 | Usage: %s [-f46] [-t timeout] [-i identity] [-l user] -H <host> \n\ |
414 | -C <command> [-n name] [-s servicelist] [-O outputfile] [-p port]\n"), | 414 | -C <command> [-n name] [-s servicelist] [-O outputfile] [-p port]\n", |
415 | progname); | 415 | progname); |
416 | |||
416 | printf (_(UT_HLP_VRS), progname, progname); | 417 | printf (_(UT_HLP_VRS), progname, progname); |
417 | } | 418 | } |