aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-25 12:09:20 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-25 12:09:20 +0000
commit4014207f5d49948557da313513cfcb2f5e3f0a7c (patch)
tree1df68b9cabb3f76219db9dab4d69cb400ec68793 /plugins/check_by_ssh.c
parentd8de534e9fa654b3211497bd62b421e2edd8e9c1 (diff)
downloadmonitoring-plugins-4014207f5d49948557da313513cfcb2f5e3f0a7c.tar.gz
internationalization of check_dhcp
internationalization fixes of check_ssh git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1058 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index f31c9c61..2ceee28f 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -213,9 +213,7 @@ process_arguments (int argc, char **argv)
switch (c) {
case '?': /* help */
- printf (_("%s: Unknown argument: %s\n\n"), progname, optarg);
- print_usage ();
- exit (STATE_UNKNOWN);
+ usage2 (_("Unknown argument"), optarg);
case 'V': /* version */
print_revision (progname, revision);
exit (STATE_OK);