From fa002886e390f5cc603021e422be3c319a1040ea Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Fri, 3 Dec 2004 11:45:10 +0000 Subject: internationalization fixes and help fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@989 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_by_ssh.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/check_by_ssh.c') 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 \n\ - -C [-n name] [-s servicelist] [-O outputfile] [-p port]\n"), + -C [-n name] [-s servicelist] [-O outputfile] [-p port]\n", progname); + printf (_(UT_HLP_VRS), progname, progname); } -- cgit v1.2.3-74-g34f1